set major mode mapping for files with ".include" file extension
This commit is contained in:
parent
cfa273cb81
commit
9cb1b3c5b3
|
@ -5,6 +5,15 @@
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
;; fix / adjust some file extension mappings
|
||||||
|
|
||||||
|
;; otherwise ".include" gets mapped to fundamental-mode, which is very useless
|
||||||
|
;; (.include is often used for various config files which allowing including)
|
||||||
|
(require 'files)
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.include\\'" . conf-mode-maybe))
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(use-package treesit-auto
|
(use-package treesit-auto
|
||||||
:ensure t
|
:ensure t
|
||||||
:custom
|
:custom
|
||||||
|
|
Loading…
Reference in a new issue