summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cmake-ts-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/cmake-ts-mode.el')
-rw-r--r--lisp/progmodes/cmake-ts-mode.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/cmake-ts-mode.el b/lisp/progmodes/cmake-ts-mode.el
index c241a2868e5..04f5d6bdac8 100644
--- a/lisp/progmodes/cmake-ts-mode.el
+++ b/lisp/progmodes/cmake-ts-mode.el
@@ -220,6 +220,9 @@ the subtrees."
(setq-local treesit-font-lock-feature-list
'((comment)
(keyword string)
+ ;; 'function' and 'variable' here play slightly
+ ;; different roles than in other ts modes, so we
+ ;; kept them at level 3.
(builtin constant escape-sequence function number variable)
(bracket error misc-punctuation)))