@@ -45,7 +45,9 @@
45 (raw_text)
45 (raw_text)
48−(variable_assignment (word) @string)
48+(variable_assignment (word) @variable)
50+ [(variable_reference (word) @variable.parameter)])
@@ -139,6 +141,7 @@
139 function: "info"
141 function: "info"
140 (arguments (text) @info))
142 (arguments (text) @info))
142;; Install Command Categories
145;; Install Command Categories
143;; Others special variables
146;; Others special variables
144;; Variables Used by Implicit Rules
147;; Variables Used by Implicit Rules
@@ -168,3 +171,5 @@
169 (word) @constant.macro
172 (word) @constant.macro
170 (#match? @constant.macro "^\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX)$"))
173 (#match? @constant.macro "^\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX)$"))
175+(targets (word) @constant)