fix incorrect indention of editorconfig when it starting

This commit is contained in:
zedhugh committed 2022-12-06 00:24:23 +08:00
1 parent a4658aef62
commit e9851dd9bb
1 file changed
+2
+2
View File
@@ -4,6 +4,8 @@
(defun creature/editorconfig-setup ()
(editorconfig-mode 1)
;; 修复通过打开文件启动该插件时打开的文件缩进配置不对
(editorconfig-mode-apply)
(remove-hook 'find-file-hook #'creature/editorconfig-setup)
(cancel-timer creature/editorconfig-timer)
(makunbound 'creature/editorconfig-timer))