mirror of
https://github.com/helix-editor/helix.git
synced 2024-12-18 22:11:55 +04:00
just: bump grammar support to Just 1.37.0 (#12141)
This commit is contained in:
parent
b1bdbc6789
commit
83fe23ce75
@ -3168,7 +3168,7 @@ indent = { tab-width = 4, unit = " " }
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "just"
|
name = "just"
|
||||||
source = { git = "https://github.com/poliorcetics/tree-sitter-just", rev = "6e28fa6cba511c694247cd802d1c3b14f8d34dbb" }
|
source = { git = "https://github.com/poliorcetics/tree-sitter-just", rev = "180bb15d64c63585c4f65c551350048f21987bcb" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "gn"
|
name = "gn"
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
[
|
[
|
||||||
"export"
|
"export"
|
||||||
"import"
|
"import"
|
||||||
|
"unexport"
|
||||||
] @keyword.control.import
|
] @keyword.control.import
|
||||||
|
|
||||||
"mod" @keyword.directive
|
"mod" @keyword.directive
|
||||||
@ -18,6 +19,11 @@
|
|||||||
"else"
|
"else"
|
||||||
] @keyword.control.conditional
|
] @keyword.control.conditional
|
||||||
|
|
||||||
|
[
|
||||||
|
"&&"
|
||||||
|
"||"
|
||||||
|
] @operator
|
||||||
|
|
||||||
; Variables
|
; Variables
|
||||||
|
|
||||||
(value
|
(value
|
||||||
@ -31,6 +37,9 @@
|
|||||||
|
|
||||||
(shell_variable_name) @variable
|
(shell_variable_name) @variable
|
||||||
|
|
||||||
|
(unexport
|
||||||
|
name: (identifier) @variable)
|
||||||
|
|
||||||
; Functions
|
; Functions
|
||||||
|
|
||||||
(recipe
|
(recipe
|
||||||
|
Loading…
Reference in New Issue
Block a user