Separate editorconfig-conf-mode config

This commit is contained in:
Henrik Lissner 2017-10-02 19:57:46 +02:00
parent b628284db9
commit 259503bb75
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -172,7 +172,6 @@ with functions that require it (like modeline segments)."
;; specify their own formatting rules.
(def-package! editorconfig
:demand t
:mode ("\\.?editorconfig$" . editorconfig-conf-mode)
:init
(def-setting! :editorconfig (action value)
":add or :remove an entry in `editorconfig-indentation-alist'."
@ -200,6 +199,9 @@ with functions that require it (like modeline segments)."
(whitespace-mode +1))))
(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
(def-package! smartparens
:demand t