diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/queries/c/injections.scm | 2 | ||||
-rw-r--r-- | runtime/queries/cmake/injections.scm | 4 | ||||
-rw-r--r-- | runtime/queries/cpp/injections.scm | 1 | ||||
-rw-r--r-- | runtime/queries/glsl/injections.scm | 5 | ||||
-rw-r--r-- | runtime/queries/llvm/injections.scm | 2 |
5 files changed, 11 insertions, 3 deletions
diff --git a/runtime/queries/c/injections.scm b/runtime/queries/c/injections.scm new file mode 100644 index 00000000..321c90ad --- /dev/null +++ b/runtime/queries/c/injections.scm @@ -0,0 +1,2 @@ +((comment) @injection.content + (#set! injection.language "comment")) 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")) diff --git a/runtime/queries/cpp/injections.scm b/runtime/queries/cpp/injections.scm new file mode 100644 index 00000000..a5a5208c --- /dev/null +++ b/runtime/queries/cpp/injections.scm @@ -0,0 +1 @@ +; inherits: c 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")) 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")) |