mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
Bump tree-sitter-nickel (#11771)
This commit is contained in:
parent
82dd963693
commit
2ce4c6d5fa
@ -881,7 +881,7 @@ indent = { tab-width = 2, unit = " " }
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "nickel"
|
name = "nickel"
|
||||||
source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "e1d9337864d209898a08c26b8cd4c2dd14c15148" }
|
source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "88d836a24b3b11c8720874a1a9286b8ae838d30a" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "nix"
|
name = "nix"
|
||||||
|
@ -23,17 +23,19 @@
|
|||||||
(let_in_block
|
(let_in_block
|
||||||
"let" @keyword
|
"let" @keyword
|
||||||
"rec"? @keyword
|
"rec"? @keyword
|
||||||
|
"in" @keyword
|
||||||
|
)
|
||||||
|
|
||||||
|
(let_binding
|
||||||
pat: (pattern
|
pat: (pattern
|
||||||
(ident) @variable
|
(ident) @variable
|
||||||
)
|
)
|
||||||
"in" @keyword
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(fun_expr
|
(fun_expr
|
||||||
"fun" @keyword.function
|
"fun" @keyword.function
|
||||||
pats:
|
pats:
|
||||||
(pattern
|
(pattern_fun (ident) @variable.parameter)+
|
||||||
id: (ident) @variable.parameter
|
|
||||||
)+
|
|
||||||
"=>" @operator
|
"=>" @operator
|
||||||
)
|
)
|
||||||
(record_field) @variable.other.member
|
(record_field) @variable.other.member
|
||||||
|
Loading…
Reference in New Issue
Block a user