21 lines
393 B
Nix
21 lines
393 B
Nix
{pkgs, ...}: {
|
|
plugins.lsp = {
|
|
servers = {
|
|
nixd.enable = true;
|
|
};
|
|
};
|
|
plugins.lsp-format = {
|
|
settings = {
|
|
go = {
|
|
exclude = ["gopls"];
|
|
force = true;
|
|
order = ["goimports" "gopls"];
|
|
sync = true;
|
|
};
|
|
};
|
|
};
|
|
extraPackages = with pkgs; [
|
|
gopls
|
|
gotools
|
|
];
|
|
}
|