update nix formatter

This commit is contained in:
Patrick Neff 2024-07-18 14:50:04 +02:00
parent da03a5bf55
commit b95645f726
3 changed files with 3 additions and 7 deletions

View File

@ -15,7 +15,6 @@ in {
globals = { globals = {
mapleader = " "; mapleader = " ";
maplocalleader = ","; maplocalleader = ",";
inlay_hints_visible = true;
}; };
opts = { opts = {
termguicolors = true; termguicolors = true;
@ -76,6 +75,7 @@ in {
xz xz
icu74 icu74
alejandra alejandra
nixpkgs-fmt
vscode-extensions.ms-vscode.cpptools vscode-extensions.ms-vscode.cpptools
]; ];
extraPlugins = with pkgs.vimPlugins; [ extraPlugins = with pkgs.vimPlugins; [

View File

@ -3,7 +3,7 @@
servers = { servers = {
nil-ls = { nil-ls = {
enable = true; enable = true;
settings.formatting.command = ["alejandra"]; settings.formatting.command = ["nixpkgs-fmt"];
}; };
}; };
}; };

View File

@ -13,10 +13,6 @@
"<leader>ca" = "code_action"; "<leader>ca" = "code_action";
}; };
}; };
onAttach = '' inlayHints = true;
if client.server_capabilities.inlayHintProvider then
vim.lsp.inlay_hint.enable(bufnr, true)
end
'';
}; };
} }