diff options
| author | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-02 15:51:47 +0200 |
|---|---|---|
| committer | Petri Hienonen <petri.hienonen@gmail.com> | 2025-12-02 15:51:47 +0200 |
| commit | d965e223f63d738a3008624c584025e999db4136 (patch) | |
| tree | 8468ed460368dcc4199fb122a5f7f12cec7fc704 /home | |
| parent | 3604b58df289eca8773c9de76fdd6fc6eaacb7d5 (diff) | |
| download | nixos-d965e223f63d738a3008624c584025e999db4136.tar.zst | |
Add strict mode by default for nix formatting
Diffstat (limited to 'home')
| -rw-r--r-- | home/nvim/lsp.lua | 2 |
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" } }, }, }, }) |
