Fix editorconfig-conf-mode
This commit is contained in:
parent
9039707184
commit
cf7779138a
1 changed files with 3 additions and 1 deletions
|
@ -135,7 +135,6 @@ fundamental-mode) for performance sake."
|
||||||
;; specify their own formatting rules.
|
;; specify their own formatting rules.
|
||||||
(def-package! editorconfig
|
(def-package! editorconfig
|
||||||
:demand t
|
:demand t
|
||||||
:mode ("\\.?editorconfig$" . editorconfig-conf-mode)
|
|
||||||
:init
|
:init
|
||||||
(def-setting! :editorconfig (action value)
|
(def-setting! :editorconfig (action value)
|
||||||
":add or :remove an entry in `editorconfig-indentation-alist'."
|
":add or :remove an entry in `editorconfig-indentation-alist'."
|
||||||
|
@ -158,6 +157,9 @@ fundamental-mode) for performance sake."
|
||||||
(if indent-tabs-mode (whitespace-mode +1)))
|
(if indent-tabs-mode (whitespace-mode +1)))
|
||||||
(add-hook 'editorconfig-custom-hooks #'doom|editorconfig-whitespace-mode-maybe))
|
(add-hook 'editorconfig-custom-hooks #'doom|editorconfig-whitespace-mode-maybe))
|
||||||
|
|
||||||
|
(def-package! editorconfig-conf-mode
|
||||||
|
:mode "\\.?editorconfig$")
|
||||||
|
|
||||||
;; Auto-close delimiters and blocks as you type
|
;; Auto-close delimiters and blocks as you type
|
||||||
(def-package! smartparens
|
(def-package! smartparens
|
||||||
:demand t
|
:demand t
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue