added go LSP support, I think.
This commit is contained in:
parent
35fb7ffcb1
commit
f75102b78e
3 changed files with 17 additions and 1 deletions
7
lua/lsp/go.lua
Normal file
7
lua/lsp/go.lua
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"gopls",
|
||||||
|
for_cat = "go",
|
||||||
|
lsp = {},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
@ -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" },
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
module.nix
10
module.nix
|
|
@ -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"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue