fix incorrect indention of editorconfig when it starting
This commit is contained in:
1 file changed
+2
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
(defun creature/editorconfig-setup ()
|
(defun creature/editorconfig-setup ()
|
||||||
(editorconfig-mode 1)
|
(editorconfig-mode 1)
|
||||||
|
;; 修复通过打开文件启动该插件时打开的文件缩进配置不对
|
||||||
|
(editorconfig-mode-apply)
|
||||||
(remove-hook 'find-file-hook #'creature/editorconfig-setup)
|
(remove-hook 'find-file-hook #'creature/editorconfig-setup)
|
||||||
(cancel-timer creature/editorconfig-timer)
|
(cancel-timer creature/editorconfig-timer)
|
||||||
(makunbound 'creature/editorconfig-timer))
|
(makunbound 'creature/editorconfig-timer))
|
||||||
|
|||||||
Reference in new issue
Block a user