aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-08 04:26:30 +0000
committerBlaž Hrastnik2021-08-08 04:26:30 +0000
commite2c3547f266448e8b74f0f492a8f50c18fb12e0c (patch)
tree557b61b5cfbd8d768712853ce26dfac494e01478 /runtime
parent02cba2a7f403f48eccb18100fb751f7b42373dba (diff)
Improve nix indents
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/nix/indents.toml15
1 files changed, 12 insertions, 3 deletions
diff --git a/runtime/queries/nix/indents.toml b/runtime/queries/nix/indents.toml
index 9058a408..b92ab752 100644
--- a/runtime/queries/nix/indents.toml
+++ b/runtime/queries/nix/indents.toml
@@ -1,9 +1,18 @@
indent = [
- "if",
+ # "function",
+ "bind",
+ "assert",
+ "with",
"let",
- "function",
+ "if",
+
"attrset",
"list",
"indented_string",
- "parenthesized"
+ "parenthesized",
+]
+
+outdent = [
+ "}",
+ "]",
]