forked from Mirrors/helix
feat(lang): Update Nix grammar & improve queries (#2472)
parent
370a16d0f0
commit
eba82250bb
@ -1,18 +1,25 @@
|
|||||||
|
|
||||||
[
|
[
|
||||||
; "function",
|
; Bracket like
|
||||||
(bind)
|
|
||||||
(assert)
|
|
||||||
(with)
|
|
||||||
(let)
|
(let)
|
||||||
(if)
|
|
||||||
|
|
||||||
(attrset)
|
(attrset)
|
||||||
(list)
|
(rec_attrset)
|
||||||
(indented_string)
|
(let_attrset)
|
||||||
(parenthesized)
|
(parenthesized)
|
||||||
] @indent
|
(list)
|
||||||
|
|
||||||
[
|
; Binding
|
||||||
"}"
|
(bind)
|
||||||
"]"
|
(inherit)
|
||||||
] @outdent
|
(inherit_from)
|
||||||
|
(formal)
|
||||||
|
|
||||||
|
; Binary operations
|
||||||
|
(binary)
|
||||||
|
(has_attr)
|
||||||
|
(select)
|
||||||
|
(app)
|
||||||
|
|
||||||
|
; Conditional
|
||||||
|
(if)
|
||||||
|
] @indent
|
Loading…
Reference in New Issue