aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/glsl
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/glsl
parente72786df8eae5684c0330be18f190a33f516da76 (diff)
Highlight comments in c, cpp, cmake and llvm (#1309)
Also, reuse the c injections in glsl
Diffstat (limited to 'runtime/queries/glsl')
-rw-r--r--runtime/queries/glsl/injections.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/queries/glsl/injections.scm b/runtime/queries/glsl/injections.scm
index b01b8b4b..6330ea3e 100644
--- a/runtime/queries/glsl/injections.scm
+++ b/runtime/queries/glsl/injections.scm
@@ -1,5 +1,4 @@
+; inherits: c
+
((preproc_arg) @injection.content
(#set! injection.language "glsl"))
-
-((comment) @injection.content
- (#set! injection.language "comment"))