mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
feat(make): highlight phony prerequisites as functions
This commit is contained in:
parent
fb101ed49d
commit
8f16c39f5b
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,11 @@
|
||||||
|
|
||||||
(rule (targets (word) @function))
|
(rule (targets (word) @function))
|
||||||
|
|
||||||
|
(rule
|
||||||
|
(targets) @_target
|
||||||
|
(prerequisites (word) @function
|
||||||
|
(#eq? @_target ".PHONY")))
|
||||||
|
|
||||||
(rule (targets
|
(rule (targets
|
||||||
(word) @function.builtin
|
(word) @function.builtin
|
||||||
(#any-of? @function.builtin
|
(#any-of? @function.builtin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue