summaryrefslogtreecommitdiff
path: root/queries/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'queries/cmake')
-rw-r--r--queries/cmake/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/cmake/highlights.scm b/queries/cmake/highlights.scm
index 417f8d92..3378480c 100644
--- a/queries/cmake/highlights.scm
+++ b/queries/cmake/highlights.scm
@@ -124,3 +124,6 @@
)
(escape_sequence) @string.escape
+
+((source_file . (line_comment) @preproc)
+ (#match? @preproc "^#!/"))