Add missing modes to editorconfig-indentation-alist
This commit is contained in:
parent
850acebad1
commit
51b5fb0f44
1 changed files with 7 additions and 0 deletions
|
@ -122,6 +122,13 @@ fundamental-mode) for performance sake."
|
||||||
(def-package! editorconfig
|
(def-package! editorconfig
|
||||||
:hook (doom-init . editorconfig-mode)
|
:hook (doom-init . editorconfig-mode)
|
||||||
:config
|
:config
|
||||||
|
;; Register missing indent variables
|
||||||
|
(setq editorconfig-indentation-alist
|
||||||
|
(append '((mips-mode mips-tab-width)
|
||||||
|
(haxor-mode haxor-tab-width)
|
||||||
|
(nasm-mode nasm-basic-offset))
|
||||||
|
editorconfig-indentation-alist))
|
||||||
|
|
||||||
;; editorconfig cannot procure the correct settings for extension-less files.
|
;; editorconfig cannot procure the correct settings for extension-less files.
|
||||||
;; Executable scripts with a shebang line, for example. So why not use Emacs'
|
;; Executable scripts with a shebang line, for example. So why not use Emacs'
|
||||||
;; major mode to drop editorconfig a hint? This is accomplished by temporarily
|
;; major mode to drop editorconfig a hint? This is accomplished by temporarily
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue