From 4eaefe4c6fb3b2ba918d0602af7423249fe654ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= Date: Thu, 12 May 2022 11:57:43 +0200 Subject: [PATCH] feat(neovim): switch to `nix fmt` --- home/editors/neovim/lsp/lsp.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/editors/neovim/lsp/lsp.lua b/home/editors/neovim/lsp/lsp.lua index d054b75..fadc374 100644 --- a/home/editors/neovim/lsp/lsp.lua +++ b/home/editors/neovim/lsp/lsp.lua @@ -224,7 +224,8 @@ config.diagnosticls.setup { rootPatterns = {".prettierrc.json", ".git"}, }, nixfmt = { - command = "nixfmt", + command = "nix", + args = {"fmt"} }, rustfmt = { command = "rustfmt",