Variable: sh-mode--treesit-keywords
sh-mode--treesit-keywords is a variable defined in sh-script.el.gz.
Value
("case" "do" "done" "elif" "else" "esac" "export" "fi" "for" "function" "if" "in" "unset" "while" "then")
Documentation
Minimal list of keywords that belong to tree-sitter-bash's grammar.
Some reserved words are not recognize to keep the grammar simpler. Those are identified with regex-based filtered queries.
(See sh-mode--treesit-other-keywords and
sh-mode--treesit-settings).
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/sh-script.el.gz
(defvar sh-mode--treesit-keywords
'("case" "do" "done" "elif" "else" "esac" "export" "fi" "for"
"function" "if" "in" "unset" "while" "then")
"Minimal list of keywords that belong to tree-sitter-bash's grammar.
Some reserved words are not recognize to keep the grammar
simpler. Those are identified with regex-based filtered queries.
\(See `sh-mode--treesit-other-keywords' and
`sh-mode--treesit-settings').")