mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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) @_target
|
||||
(prerequisites (word) @function
|
||||
(#eq? @_target ".PHONY")))
|
||||
|
||||
(rule (targets
|
||||
(word) @function.builtin
|
||||
(#any-of? @function.builtin
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue