File Extension Mode Association
- Associate ".m" files with octave-mode
This commit is contained in:
@ -26,6 +26,7 @@
|
|||||||
- [[#org-mode][Org Mode]]
|
- [[#org-mode][Org Mode]]
|
||||||
- [[#projectile][Projectile]]
|
- [[#projectile][Projectile]]
|
||||||
- [[#prettier-formatter][Prettier Formatter]]
|
- [[#prettier-formatter][Prettier Formatter]]
|
||||||
|
- [[#file-extension-mode-association][File Extension Mode Association]]
|
||||||
- [[#packagesel][packages.el]]
|
- [[#packagesel][packages.el]]
|
||||||
- [[#packages][Packages]]
|
- [[#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)
|
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
||||||
#+END_SRC
|
#+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
|
** 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=.
|
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=.
|
||||||
|
@ -43,3 +43,5 @@
|
|||||||
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
|
(setq projectile-project-search-path '("~/Projects/" "~/.config/"))
|
||||||
|
|
||||||
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
(add-hook! 'web-mode-hook 'prettier-js-mode)
|
||||||
|
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.m\\'" . octave-mode))
|
||||||
|
Reference in New Issue
Block a user