2024-10-28 19:30:48 -04:00
|
|
|
_: {
|
|
|
|
programs.nixvim.plugins = {
|
|
|
|
lsp-format.enable = true;
|
|
|
|
lsp-lines.enable = true;
|
|
|
|
lint = {
|
|
|
|
lintersByFt = {
|
|
|
|
nix = [
|
|
|
|
"statix"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
linters = {
|
|
|
|
statix = {
|
|
|
|
cmd = ["statix"];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
lsp = {
|
|
|
|
enable = true;
|
|
|
|
inlayHints = true;
|
|
|
|
servers = {
|
|
|
|
nil_ls = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
rust_analyzer = {
|
|
|
|
enable = true;
|
|
|
|
autostart = true;
|
|
|
|
installCargo = true;
|
|
|
|
installRustc = true;
|
|
|
|
};
|
2024-11-01 07:21:24 -04:00
|
|
|
gopls = {
|
|
|
|
enable = true;
|
|
|
|
autostart = true;
|
|
|
|
};
|
|
|
|
nushell = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-12-11 15:54:43 -05:00
|
|
|
lua_ls = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2024-10-28 19:30:48 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|