sh-mode: add more electric 'words'
This commit is contained in:
parent
8c5deda9e3
commit
a1b0db0b07
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
:init (add-hook! sh-mode '(flycheck-mode doom|sh-extra-font-lock-activate))
|
||||
:config
|
||||
(def-company-backend! sh-mode (shell))
|
||||
(def-electric! sh-mode :words ("else" "elif" "fi" "done"))
|
||||
(def-electric! sh-mode :words ("else" "elif" "fi" "done" "then" "do" "esac" ";;"))
|
||||
(def-repl! sh-mode doom/inf-shell)
|
||||
(setq sh-indent-after-continuation 'always)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue