aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/llvm
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/llvm
parente72786df8eae5684c0330be18f190a33f516da76 (diff)
Highlight comments in c, cpp, cmake and llvm (#1309)
Also, reuse the c injections in glsl
Diffstat (limited to 'runtime/queries/llvm')
-rw-r--r--runtime/queries/llvm/injections.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/llvm/injections.scm b/runtime/queries/llvm/injections.scm
new file mode 100644
index 00000000..321c90ad
--- /dev/null
+++ b/runtime/queries/llvm/injections.scm
@@ -0,0 +1,2 @@
+((comment) @injection.content
+ (#set! injection.language "comment"))