From a1b0db0b07d9d7b2c8e0f7dc1a367ed53e03cf45 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 11 Oct 2016 13:20:22 +0200 Subject: [PATCH] sh-mode: add more electric 'words' --- modules/module-sh.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/module-sh.el b/modules/module-sh.el index fbb943276..9c5cb62b1 100644 --- a/modules/module-sh.el +++ b/modules/module-sh.el @@ -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)