mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-04 03:17:45 +03:00
Bump Spade grammar (#12583)
This commit is contained in:
parent
076d8bd173
commit
954c97f2b5
2 changed files with 4 additions and 6 deletions
|
@ -3967,7 +3967,7 @@ indent = { tab-width = 4, unit = " " }
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "spade"
|
name = "spade"
|
||||||
source = { git = "https://gitlab.com/spade-lang/tree-sitter-spade", rev = "4d5b141017c61fe7e168e0a5c5721ee62b0d9572" }
|
source = { git = "https://gitlab.com/spade-lang/tree-sitter-spade", rev = "78bf09a88fc1d396f66b69879f908fc6bd2e6934" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "amber"
|
name = "amber"
|
||||||
|
|
|
@ -56,13 +56,11 @@
|
||||||
] @keyword.import
|
] @keyword.import
|
||||||
|
|
||||||
[
|
[
|
||||||
"$if"
|
"gen"
|
||||||
"$else"
|
|
||||||
"$config"
|
|
||||||
] @keyword.directive
|
] @keyword.directive
|
||||||
|
|
||||||
((comptime_if ["{" "}"] @keyword.directive))
|
((gen_if_expression ["if" "else"] @keyword.directive))
|
||||||
((comptime_else ["{" "}"] @keyword.directive))
|
((naked_gen_if_expression ["if" "else"] @keyword.directive))
|
||||||
|
|
||||||
((attribute) ["#" "[" "]"] @punctuation.delimiter)
|
((attribute) ["#" "[" "]"] @punctuation.delimiter)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue