Separate editorconfig-conf-mode config
This commit is contained in:
parent
b628284db9
commit
259503bb75
1 changed files with 3 additions and 1 deletions
|
@ -172,7 +172,6 @@ with functions that require it (like modeline segments)."
|
||||||
;; 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'."
|
||||||
|
@ -200,6 +199,9 @@ with functions that require it (like modeline segments)."
|
||||||
(whitespace-mode +1))))
|
(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