mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Separate editorconfig-conf-mode config
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user