on master help sign in
Improve nix indents
e2c3547Blaž Hrastnik
runtime/queries/nix/indents.toml+12−3
@@ -1,9 +1,18 @@
1indent = [
1indent = [
2− "if",
2+ # "function",
3+ "bind",
4+ "assert",
5+ "with",
3 "let",
6 "let",
4− "function",
7+ "if",
8+
5 "attrset",
9 "attrset",
6 "list",
10 "list",
7 "indented_string",
11 "indented_string",
8− "parenthesized"
12+ "parenthesized",
13+]
14+
15+outdent = [
16+ "}",
17+ "]",
9]
18]