diff options
Diffstat (limited to 'runtime/queries/vhs')
| -rw-r--r-- | runtime/queries/vhs/highlights.scm | 52 | ||||
| -rw-r--r-- | runtime/queries/vhs/injections.scm | 2 |
2 files changed, 54 insertions, 0 deletions
diff --git a/runtime/queries/vhs/highlights.scm b/runtime/queries/vhs/highlights.scm new file mode 100644 index 000000000..469fdd139 --- /dev/null +++ b/runtime/queries/vhs/highlights.scm @@ -0,0 +1,52 @@ +[ + "Output" + "Backspace" + "Down" + "Enter" + "Escape" + "Left" + "Right" + "Space" + "Tab" + "Up" + "Set" + "Type" + "Sleep" + "Hide" + "Show" +] @keyword + +[ + "Shell" + "FontFamily" + "FontSize" + "Framerate" + "PlaybackSpeed" + "Height" + "LetterSpacing" + "TypingSpeed" + "LineHeight" + "Padding" + "Theme" + "LoopOffset" + "Width" +] @type + +"@" @operator + +(control) @function.macro + +(float) @number.float + +(integer) @number + +(comment) @comment @spell + +[ + (string) + (json) +] @string + +(path) @string.special.path + +(time) @string.special diff --git a/runtime/queries/vhs/injections.scm b/runtime/queries/vhs/injections.scm new file mode 100644 index 000000000..2f0e58eb6 --- /dev/null +++ b/runtime/queries/vhs/injections.scm @@ -0,0 +1,2 @@ +((comment) @injection.content + (#set! injection.language "comment")) |
