feat(make): highlight phony prerequisites as functions

This commit is contained in:
Riley Bruins 2023-11-27 12:51:33 -08:00 committed by ObserverOfTime
parent fb101ed49d
commit 8f16c39f5b

View file

@ -12,6 +12,11 @@
(rule (targets (word) @function))
(rule
(targets) @_target
(prerequisites (word) @function
(#eq? @_target ".PHONY")))
(rule (targets
(word) @function.builtin
(#any-of? @function.builtin