diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-24 11:16:30 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-01-24 11:16:30 +0100 |
commit | bcf844b5fcaeff3548e35b6a6e3c320c8187ae06 (patch) | |
tree | fe27ca610761c39def2afcd7dde97d3e21b7b113 /lisp/progmodes/sh-script.el | |
parent | 842ea1e22f2251e62a23c3fafdd7d1571f730d7d (diff) | |
download | emacs-bcf844b5fcaeff3548e35b6a6e3c320c8187ae06.tar.gz emacs-bcf844b5fcaeff3548e35b6a6e3c320c8187ae06.tar.bz2 emacs-bcf844b5fcaeff3548e35b6a6e3c320c8187ae06.zip |
Add "then" to sh--completion-keywords
* lisp/progmodes/sh-script.el (sh--completion-keywords): Allow
completing over "then" (bug#53490).
Diffstat (limited to 'lisp/progmodes/sh-script.el')
-rw-r--r-- | lisp/progmodes/sh-script.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index ba86ceb0eda..3ad0f0182f8 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1602,7 +1602,7 @@ This adds rules for comments and assignments." ;;; Completion -(defvar sh--completion-keywords '("if" "while" "until" "for")) +(defvar sh--completion-keywords '("if" "while" "until" "for" "then")) (defun sh--vars-before-point () (save-excursion |