update nix formatter
This commit is contained in:
parent
da03a5bf55
commit
b95645f726
|
|
@ -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; [
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
servers = {
|
||||
nil-ls = {
|
||||
enable = true;
|
||||
settings.formatting.command = ["alejandra"];
|
||||
settings.formatting.command = ["nixpkgs-fmt"];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue