mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
Add :editorconfig setting
This commit is contained in:
@@ -18,9 +18,7 @@
|
||||
("add-hook" "remove-hook")))
|
||||
|
||||
;; Don't affect lisp indentation (only `tab-width')
|
||||
(setq editorconfig-indentation-alist
|
||||
(delq (assq 'emacs-lisp-mode editorconfig-indentation-alist)
|
||||
editorconfig-indentation-alist))
|
||||
(set! :editorconfig :remove 'emacs-lisp-mode)
|
||||
|
||||
(defun +emacs-lisp|hook ()
|
||||
(setq mode-name "Elisp") ; [pedantry intensifies]
|
||||
|
@@ -21,7 +21,7 @@
|
||||
(def-package! moonscript
|
||||
:mode ("\\.moon$" . moonscript-mode)
|
||||
:config
|
||||
(push '(moonscript-mode moonscript-indent-offset) editorconfig-indentation-alist))
|
||||
(set! :editorconfig :add '(moonscript-mode moonscript-indent-offset)))
|
||||
|
||||
|
||||
;;
|
||||
|
Reference in New Issue
Block a user