diff options
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/pymanifest/highlights.scm | 22 | ||||
| -rw-r--r-- | queries/pymanifest/injections.scm | 2 |
2 files changed, 24 insertions, 0 deletions
diff --git a/queries/pymanifest/highlights.scm b/queries/pymanifest/highlights.scm new file mode 100644 index 000000000..f2522443e --- /dev/null +++ b/queries/pymanifest/highlights.scm @@ -0,0 +1,22 @@ +(keyword) @keyword + +(dir_sep) @punctuation.delimiter + +(glob) @punctuation.special + +(linebreak) @character.special + +(char_sequence) @string.special + +(char_sequence + [ "[" "]" ] @punctuation.bracket) + +(char_sequence "!" @operator) + +(char_range "-" @operator) + +(escaped_char) @string.escape + +(ERROR) @error + +(comment) @comment diff --git a/queries/pymanifest/injections.scm b/queries/pymanifest/injections.scm new file mode 100644 index 000000000..321c90add --- /dev/null +++ b/queries/pymanifest/injections.scm @@ -0,0 +1,2 @@ +((comment) @injection.content + (#set! injection.language "comment")) |
