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

View File

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

View File

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