瀏覽代碼

Exclude toml for aggressive-indent

master
10sr 6 年之前
父節點
當前提交
a250469443
簽署人: 10sr GPG Key ID: 7BEC428194130EB2
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. +5
    -3
      emacs.el

+ 5
- 3
emacs.el 查看文件

@@ -1,6 +1,6 @@
;;; emacs.el --- 10sr emacs initialization

;; Time-stamp: <2018-10-09 19:28:35 JST 10sr>
;; Time-stamp: <2018-10-10 12:26:10 JST 10sr>

;;; Code:

@@ -837,8 +837,10 @@ found, otherwise returns nil."

(when (safe-require-or-eval 'aggressive-indent)
(defvar aggressive-indent-excluded-modes)
(add-to-list 'aggressive-indent-excluded-modes
'diff-mode)
(setq aggressive-indent-excluded-modes
`(diff-mode
toml-mode
,@aggressive-indent-excluded-modes))
(global-aggressive-indent-mode 1))

(when (autoload-eval-lazily 'ggtags)


Loading…
取消
儲存