From a5c383ed145c234ff9e46b57086d2821fed1a9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Mon, 5 Dec 2022 09:21:34 -0300 Subject: [PATCH] use nixfmt with nil --- user/kak/kak-lsp.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/kak/kak-lsp.toml b/user/kak/kak-lsp.toml index 62607d5..cbc0fa8 100644 --- a/user/kak/kak-lsp.toml +++ b/user/kak/kak-lsp.toml @@ -109,6 +109,8 @@ command = "nimlsp" filetypes = ["nix"] roots = ["flake.nix", "shell.nix", ".git"] command = "nil" +[language.nix.settings.nil] +formatting.command = [ "nixfmt" ] [language.ocaml] filetypes = ["ocaml"]