aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/cmake
diff options
context:
space:
mode:
authorSebastian Neubauer2021-12-20 02:42:23 +0000
committerGitHub2021-12-20 02:42:23 +0000
commit23091c9d29f575379d01b7011890da044a302433 (patch)
tree996a4379ae7f69afff86cd4aac406ad43cb73bae /runtime/queries/cmake
parente72786df8eae5684c0330be18f190a33f516da76 (diff)
Highlight comments in c, cpp, cmake and llvm (#1309)
Also, reuse the c injections in glsl
Diffstat (limited to 'runtime/queries/cmake')
-rw-r--r--runtime/queries/cmake/injections.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/queries/cmake/injections.scm b/runtime/queries/cmake/injections.scm
new file mode 100644
index 00000000..6cb6c254
--- /dev/null
+++ b/runtime/queries/cmake/injections.scm
@@ -0,0 +1,4 @@
+((line_comment) @injection.content
+ (#set! injection.language "comment"))
+((bracket_comment) @injection.content
+ (#set! injection.language "comment"))