mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
feat(lang): Update nickel to include "rec" keyword (#2320)
This commit is contained in:
parent
22ae1b92a6
commit
21487d13fd
@ -424,7 +424,7 @@ indent = { tab-width = 2, unit = " " }
|
|||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "nickel"
|
name = "nickel"
|
||||||
source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "85348774ccf7624fac72703b2264d18b6f572be6" }
|
source = { git = "https://github.com/nickel-lang/tree-sitter-nickel", rev = "c4dd1420b6cfeb6103d38eb1ce5195eb81197edc" }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "nix"
|
name = "nix"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
(record_operand (atom (ident) @variable))
|
(record_operand (atom (ident) @variable))
|
||||||
(let_expr
|
(let_expr
|
||||||
"let" @keyword
|
"let" @keyword
|
||||||
|
"rec"? @keyword
|
||||||
pat: (pattern
|
pat: (pattern
|
||||||
(ident) @variable
|
(ident) @variable
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user