;; 3: builtin-variable builtin-constant constant
;; delimiter escape-sequence
;; global instance
-;; interpolation literal symbol variable
+;; interpolation literal symbol assignment
;; 4: bracket error function operator punctuation
;; Thus if treesit-font-lock-level is set to level 3 which is its
'((call
method: (identifier) @font-lock-function-name-face))
+ :language language
+ :feature 'assignment
+ '((assignment
+ left: (identifier) @font-lock-variable-name-face)
+ (assignment
+ left: (left_assignment_list (identifier) @font-lock-variable-name-face))
+ (operator_assignment
+ left: (identifier) @font-lock-variable-name-face))
+
:language language
:feature 'error
'((ERROR) @font-lock-warning-face)
( builtin-variable builtin-constant constant
delimiter escape-sequence
global instance
- interpolation literal symbol variable)
+ interpolation literal symbol assignment)
( bracket error function operator punctuation)))
(treesit-major-mode-setup))