瀏覽代碼

Temporarily use editorconfig-2-mode

master
10sr 3 年之前
父節點
當前提交
6afaba6ae8
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 8 行新增6 行删除
  1. +8
    -6
      emacs.el

+ 8
- 6
emacs.el 查看文件

@@ -1194,12 +1194,14 @@ THEM are function and its args."
(define-key ctl-x-map (kbd "C-r") 'my-counsel-recently)
)

(when (fboundp 'editorconfig-mode)
(add-hook 'after-first-visit-hook
'editorconfig-mode)
(add-hook 'after-first-visit-hook
'editorconfig-mode-apply
t)) ;; Do after enabling editorconfig-mode
;; (when (fboundp 'editorconfig-mode)
;; (add-hook 'after-first-visit-hook
;; 'editorconfig-mode)
;; (add-hook 'after-first-visit-hook
;; 'editorconfig-mode-apply
;; t)) ;; Do after enabling editorconfig-mode
(when (eval-and-compile (require 'editorconfig))
(editorconfig-2-mode 1))
(set-variable 'editorconfig-get-properties-function
'editorconfig-core-get-properties-hash)
(set-variable 'editorconfig-mode-lighter "")


Loading…
取消
儲存