mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 07:50:07 -04:00
highlights: use @preproc where appropriate
This commit is contained in:
parent
0bfeb5484e
commit
9b43ab819c
15 changed files with 43 additions and 16 deletions
|
|
@ -155,6 +155,9 @@
|
|||
((word) @boolean
|
||||
(#any-of? @boolean "true" "false"))
|
||||
|
||||
((program . (comment) @preproc)
|
||||
(#match? @preproc "^#!/"))
|
||||
|
||||
;; Error
|
||||
|
||||
(ERROR) @error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue