Don't defer editorconfig

Changed my mind, teehee!
This commit is contained in:
Henrik Lissner 2017-06-05 20:20:20 +02:00
parent df92e47967
commit e2e5acf5b5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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