diff options
Diffstat (limited to 'queries/hlsplaylist')
| -rw-r--r-- | queries/hlsplaylist/highlights.scm | 41 | ||||
| -rw-r--r-- | queries/hlsplaylist/injections.scm | 2 |
2 files changed, 43 insertions, 0 deletions
diff --git a/queries/hlsplaylist/highlights.scm b/queries/hlsplaylist/highlights.scm new file mode 100644 index 000000000..9852aed6d --- /dev/null +++ b/queries/hlsplaylist/highlights.scm @@ -0,0 +1,41 @@ +; Comments +(comment) @comment @spell + +; General +(uri) @string.special.url + +(tag_name) @keyword + +(attribute_name) @attribute + +[ + (dec) + (hex) + (resolution) + (range) +] @number + +(float) @number.float + +(string) @string + +[ + (enum) + (date_time_msec) +] @string.special + +(title) @markup.heading + +; Literals +[ + "=" + "x" + "@" +] @operator + +[ + ":" + "," +] @punctuation.delimiter + +"#" @punctuation.special diff --git a/queries/hlsplaylist/injections.scm b/queries/hlsplaylist/injections.scm new file mode 100644 index 000000000..2f0e58eb6 --- /dev/null +++ b/queries/hlsplaylist/injections.scm @@ -0,0 +1,2 @@ +((comment) @injection.content + (#set! injection.language "comment")) |
