1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 17:48:22 +01:00
helix/runtime/queries/nix/indents.scm
Milo Moisson a03becf021
nix: add indent TS query (#12829)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2025-02-10 14:47:31 -06:00

23 lines
342 B
Scheme

[
(indented_string_expression)
(string_expression)
; these are all direct parents of (binding_set)
(attrset_expression)
(let_attrset_expression)
(rec_attrset_expression)
(let_expression)
(list_expression)
(parenthesized_expression)
] @indent
(if_expression [ "if" "then" "else" ] @align)
[
"}"
"]"
")"
] @outdent