diff options
Diffstat (limited to 'runtime/queries')
-rw-r--r-- | runtime/queries/jinja/highlights.scm | 7 | ||||
-rw-r--r-- | runtime/queries/jinja/injections.scm | 4 | ||||
-rw-r--r-- | runtime/queries/nunjucks/highlights.scm | 1 | ||||
-rw-r--r-- | runtime/queries/nunjucks/injections.scm | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/runtime/queries/jinja/highlights.scm b/runtime/queries/jinja/highlights.scm new file mode 100644 index 00000000..3166ccbd --- /dev/null +++ b/runtime/queries/jinja/highlights.scm @@ -0,0 +1,7 @@ +(expression) @string +(statement) @variable.builtin +(keyword) @keyword +(comment) @comment +(identifier) @variable.parameter +(operator) @operator +(string) @string
\ No newline at end of file diff --git a/runtime/queries/jinja/injections.scm b/runtime/queries/jinja/injections.scm new file mode 100644 index 00000000..8599722e --- /dev/null +++ b/runtime/queries/jinja/injections.scm @@ -0,0 +1,4 @@ +((source_file) @injection.content + (#set! injection.combined) + (#set! injection.include-children) + (#set! injection.language "html"))
\ No newline at end of file diff --git a/runtime/queries/nunjucks/highlights.scm b/runtime/queries/nunjucks/highlights.scm new file mode 100644 index 00000000..d6bbc197 --- /dev/null +++ b/runtime/queries/nunjucks/highlights.scm @@ -0,0 +1 @@ +; inherits: jinja
\ No newline at end of file diff --git a/runtime/queries/nunjucks/injections.scm b/runtime/queries/nunjucks/injections.scm new file mode 100644 index 00000000..d6bbc197 --- /dev/null +++ b/runtime/queries/nunjucks/injections.scm @@ -0,0 +1 @@ +; inherits: jinja
\ No newline at end of file |