@@ -45,7 +45,9 @@
4545 (raw_text)
4646] @string
4747
48−(variable_assignment (word) @string)
48+(variable_assignment (word) @variable)
49+(shell_text
50+ [(variable_reference (word) @variable.parameter)])
4951
5052[
5153 "ifeq"
@@ -139,6 +141,7 @@
139141 function: "info"
140142 (arguments (text) @info))
141143
144+
142145;; Install Command Categories
143146;; Others special variables
144147;; Variables Used by Implicit Rules
@@ -168,3 +171,5 @@
168171(targets
169172 (word) @constant.macro
170173 (#match? @constant.macro "^\.(PHONY|SUFFIXES|DEFAULT|PRECIOUS|INTERMEDIATE|SECONDARY|SECONDEXPANSION|DELETE_ON_ERROR|IGNORE|LOW_RESOLUTION_TIME|SILENT|EXPORT_ALL_VARIABLES|NOTPARALLEL|ONESHELL|POSIX)$"))
174+
175+(targets (word) @constant)