aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorPetri Hienonen <petri.hienonen@gmail.com>2025-12-02 15:51:47 +0200
committerPetri Hienonen <petri.hienonen@gmail.com>2025-12-02 15:51:47 +0200
commitd965e223f63d738a3008624c584025e999db4136 (patch)
tree8468ed460368dcc4199fb122a5f7f12cec7fc704 /home
parent3604b58df289eca8773c9de76fdd6fc6eaacb7d5 (diff)
downloadnixos-d965e223f63d738a3008624c584025e999db4136.tar.zst
Add strict mode by default for nix formatting
Diffstat (limited to 'home')
-rw-r--r--home/nvim/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/nvim/lsp.lua b/home/nvim/lsp.lua
index 07665bc..5371eb2 100644
--- a/home/nvim/lsp.lua
+++ b/home/nvim/lsp.lua
@@ -154,7 +154,7 @@ vim.lsp.config("nil_ls", {
filetypes = { "nix" },
settings = {
["nil"] = {
- formatting = { command = { "nixfmt" } },
+ formatting = { command = { "nixfmt", "-s" } },
},
},
})