From bcf844b5fcaeff3548e35b6a6e3c320c8187ae06 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Mon, 24 Jan 2022 11:16:30 +0100 Subject: [PATCH] Add "then" to sh--completion-keywords * lisp/progmodes/sh-script.el (sh--completion-keywords): Allow completing over "then" (bug#53490). --- lisp/progmodes/sh-script.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2