diff --git a/queries/query/highlights.scm b/queries/query/highlights.scm index ee31a7e7e..b9c09fb95 100644 --- a/queries/query/highlights.scm +++ b/queries/query/highlights.scm @@ -27,8 +27,8 @@ ((parameters (identifier) @number) (#match? @number "^[-+]?[0-9]+(.[0-9]+)?$")) -((program . (comment) @include) +((program . (comment)* . (comment) @include) (#match? @include "^;\ +inherits\ *:")) -((program . (comment) @preproc) +((program . (comment)* . (comment) @preproc) (#match? @preproc "^; +extends"))