added go LSP support, I think.

This commit is contained in:
Gabe Venberg 2026-03-16 00:53:25 +01:00
parent 35fb7ffcb1
commit f75102b78e
3 changed files with 17 additions and 1 deletions

7
lua/lsp/go.lua Normal file
View file

@ -0,0 +1,7 @@
return {
{
"gopls",
for_cat = "go",
lsp = {},
},
}

View file

@ -107,4 +107,5 @@ require('lze').load {
{ import = "lsp.bash" }, { import = "lsp.bash" },
{ import = "lsp.zk" }, { import = "lsp.zk" },
{ import = "lsp.rust" }, { import = "lsp.rust" },
{ import = "lsp.go" },
} }

View file

@ -151,7 +151,6 @@ inputs: {
]; ];
}; };
config.specs.zk = { config.specs.zk = {
after = ["general" "lazy"]; after = ["general" "lazy"];
data = with pkgs.vimPlugins; [ data = with pkgs.vimPlugins; [
@ -174,6 +173,15 @@ inputs: {
]; ];
}; };
config.specs.go = {
name = "go";
after = ["general" "lazy"];
data = null;
extraPackages = with pkgs; [
gopls
];
};
config.specs.nix = { config.specs.nix = {
name = "nix"; name = "nix";
after = ["general" "lazy"]; after = ["general" "lazy"];