mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Don't defer editorconfig
Changed my mind, teehee!
This commit is contained in:
@ -100,12 +100,9 @@ sake."
|
|||||||
;; Handles whitespace (tabs/spaces) settings externally. This way projects can
|
;; Handles whitespace (tabs/spaces) settings externally. This way projects can
|
||||||
;; specify their own formatting rules.
|
;; specify their own formatting rules.
|
||||||
(def-package! editorconfig
|
(def-package! editorconfig
|
||||||
|
:demand t
|
||||||
:mode ("\\.?editorconfig$" . editorconfig-conf-mode)
|
:mode ("\\.?editorconfig$" . editorconfig-conf-mode)
|
||||||
:init
|
:init
|
||||||
;; deferred loading, the clumsy way
|
|
||||||
(add-transient-hook! 'find-file-hook (require 'editorconfig))
|
|
||||||
(add-transient-hook! 'after-change-major-mode-hook (require 'editorconfig))
|
|
||||||
|
|
||||||
(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'."
|
||||||
`(after! editorconfig
|
`(after! editorconfig
|
||||||
|
Reference in New Issue
Block a user