From e2c3547f266448e8b74f0f492a8f50c18fb12e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Sun, 8 Aug 2021 13:26:30 +0900 Subject: [PATCH] Improve nix indents --- runtime/queries/nix/indents.toml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/runtime/queries/nix/indents.toml b/runtime/queries/nix/indents.toml index 9058a408d..b92ab752d 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 = [ + "}", + "]", ]