File Extension Mode Association
- Associate ".m" files with octave-mode
This commit is contained in:
		@@ -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=.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user