mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 16:30:02 -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
|
|
@ -85,6 +85,9 @@
|
|||
(comments) @comment
|
||||
(comments) @spell
|
||||
|
||||
((source_file . (comments) @preproc)
|
||||
(#match? @preproc "^#!/"))
|
||||
|
||||
; POD should be handled specially with its own embedded subtype but for now
|
||||
; we'll just have to do this.
|
||||
(pod_statement) @text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue