File Extension Mode Association

- Associate ".m" files with octave-mode
This commit is contained in:
Sravan Balaji
2021-09-26 11:39:49 -04:00
parent b306142220
commit 220ca9515a
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@
- [[#org-mode][Org Mode]]
- [[#projectile][Projectile]]
- [[#prettier-formatter][Prettier Formatter]]
- [[#file-extension-mode-association][File Extension Mode Association]]
- [[#packagesel][packages.el]]
- [[#packages][Packages]]
@ -427,6 +428,12 @@ If you use =org= and don't want your org files in the default location below, ch
(add-hook! 'web-mode-hook 'prettier-js-mode)
#+END_SRC
*** File Extension Mode Association
#+BEGIN_SRC emacs-lisp :tangle config.el
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
#+END_SRC
** packages.el
To install a package with Doom you must declare them here and run =doom sync= on the command line, then restart Emacs for the changes to take effect -- or use =M-x doom/reload=.

View File

@ -43,3 +43,5 @@
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
(add-hook! 'web-mode-hook 'prettier-js-mode)
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))