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