mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -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
|
||||
;; 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
|
||||
|
Reference in New Issue
Block a user