mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
sh-mode: add more electric 'words'
This commit is contained in:
@ -9,7 +9,7 @@
|
|||||||
:init (add-hook! sh-mode '(flycheck-mode doom|sh-extra-font-lock-activate))
|
:init (add-hook! sh-mode '(flycheck-mode doom|sh-extra-font-lock-activate))
|
||||||
:config
|
:config
|
||||||
(def-company-backend! sh-mode (shell))
|
(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)
|
(def-repl! sh-mode doom/inf-shell)
|
||||||
(setq sh-indent-after-continuation 'always)
|
(setq sh-indent-after-continuation 'always)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user