Electric-indent on words

This commit is contained in:
Henrik Lissner 2016-03-23 11:59:06 -04:00
parent 3c72351220
commit 28a720e626
4 changed files with 22 additions and 2 deletions

View file

@ -17,7 +17,9 @@
(define-repl! sh-mode narf/inf-shell)
(add-hook! sh-mode 'flycheck-mode)
(add-hook! sh-mode 'electric-indent-local-mode)
(add-hook! sh-mode
(electric-indent-local-mode +1)
(setq narf-electric-indent-words '("else" "elif" "fi" "done")))
(require 'company-shell)