Don't defer editorconfig
Changed my mind, teehee!
This commit is contained in:
parent
df92e47967
commit
e2e5acf5b5
1 changed files with 1 additions and 4 deletions
|
@ -100,12 +100,9 @@ sake."
|
|||
;; Handles whitespace (tabs/spaces) settings externally. This way projects can
|
||||
;; specify their own formatting rules.
|
||||
(def-package! editorconfig
|
||||
:demand t
|
||||
:mode ("\\.?editorconfig$" . editorconfig-conf-mode)
|
||||
: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)
|
||||
":add or :remove an entry in `editorconfig-indentation-alist'."
|
||||
`(after! editorconfig
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue