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