highlights: use @preproc where appropriate

This commit is contained in:
ObserverOfTime 2022-09-18 20:15:23 +03:00 committed by Stephan Seitz
parent 0bfeb5484e
commit 9b43ab819c
15 changed files with 43 additions and 16 deletions

View file

@ -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