We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cc51e9 commit c4a703cCopy full SHA for c4a703c
modules/me-prog.el
@@ -101,11 +101,14 @@
101
102
(use-package editorconfig
103
:straight t
104
- :hook (prog-mode . editorconfig-mode)
+ :hook (minemacs-first-file . editorconfig-mode)
105
:init
106
(+map!
107
"fc" '(editorconfig-find-current-editorconfig :wk "Find current EditorConfig")
108
- "cfe" #'editorconfig-format-buffer))
+ "cfe" #'editorconfig-format-buffer)
109
+ :config
110
+ ;; Exclude compressed files
111
+ (push "\\.\\(zip\\|epub\\|\\(doc\\|xls\\|ppt\\)x\\)\\'" editorconfig-exclude-regexps))
112
113
(use-package clang-format
114
0 commit comments