mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
language: added vhs (#4486)
This commit is contained in:
parent
cefdface3b
commit
26f21da531
@ -120,6 +120,7 @@
|
||||
| v | ✓ | | | `vls` |
|
||||
| vala | ✓ | | | `vala-language-server` |
|
||||
| verilog | ✓ | ✓ | | `svlangserver` |
|
||||
| vhs | ✓ | | | |
|
||||
| vue | ✓ | | | `vls` |
|
||||
| wast | ✓ | | | |
|
||||
| wat | ✓ | | | |
|
||||
|
@ -1872,3 +1872,16 @@ formatter = { command = "dfmt" }
|
||||
[[grammar]]
|
||||
name = "d"
|
||||
source = { git = "https://github.com/gdamore/tree-sitter-d", rev="601c4a1e8310fb2f3c43fa8a923d0d27497f3c04" }
|
||||
|
||||
[[language]]
|
||||
name = "vhs"
|
||||
scope = "source.vhs"
|
||||
file-types = ["tape"]
|
||||
roots = []
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 2, unit = " " }
|
||||
grammar = "vhs"
|
||||
|
||||
[[grammar]]
|
||||
name = "vhs"
|
||||
source = { git = "https://github.com/charmbracelet/tree-sitter-vhs", rev = "c6d81f34c011c29ee86dd73b45a8ecc9f2e2bdaf" }
|
||||
|
36
runtime/queries/vhs/highlights.scm
Normal file
36
runtime/queries/vhs/highlights.scm
Normal file
@ -0,0 +1,36 @@
|
||||
[
|
||||
"Output"
|
||||
"Backspace"
|
||||
"Down"
|
||||
"Enter"
|
||||
"Escape"
|
||||
"Left"
|
||||
"Right"
|
||||
"Space"
|
||||
"Tab"
|
||||
"Up"
|
||||
"Set"
|
||||
"Type"
|
||||
"Sleep"
|
||||
"Hide"
|
||||
"Show" ] @keyword
|
||||
|
||||
[ "FontFamily"
|
||||
"FontSize"
|
||||
"Framerate"
|
||||
"Height"
|
||||
"LetterSpacing"
|
||||
"TypingSpeed"
|
||||
"LineHeight"
|
||||
"Padding"
|
||||
"Theme"
|
||||
"Width" ] @type
|
||||
|
||||
[ "@" ] @operator
|
||||
(control) @function.macro
|
||||
(float) @constant.numeric.float
|
||||
(integer) @constant.numeric.integer
|
||||
(comment) @comment
|
||||
(path) @string.special.path
|
||||
[(string) (json)] @string
|
||||
(time) @string.special.symbol
|
Loading…
Reference in New Issue
Block a user