Browse Source

Remove aggressive-indent

master
10sr 4 years ago
parent
commit
37c33a330d
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 1 additions and 16 deletions
  1. +1
    -16
      emacs.el

+ 1
- 16
emacs.el View File

@@ -144,7 +144,7 @@ Otherwize hook it."
pipenv
imenu-list
page-break-lines
aggressive-indent
;; aggressive-indent
dired-filter
wgrep
magit
@@ -1449,21 +1449,6 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called."
(add-to-list 'auto-mode-alist
`(,git-rebase-filename-regexp . text-mode)))

(when (fboundp 'global-aggressive-indent-mode)
(add-hook 'after-first-visit-hook
'global-aggressive-indent-mode))
(with-eval-after-load 'aggressive-indent
(defvar aggressive-indent-excluded-modes)
(set-variable 'aggressive-indent-excluded-modes
`(web-mode
diff-mode
toml-mode
conf-mode
dockerfile-mode
groovy-mode
scala-mode
,@aggressive-indent-excluded-modes)))

(when (fboundp 'ggtags-mode)
(add-hook 'c-mode-common-hook
'ggtags-mode)


Loading…
Cancel
Save