feat: add gopls and rust-analyzer lsp's

This commit is contained in:
Guz
2024-12-05 19:27:16 -03:00
parent 19b1f317b1
commit 51800f7484
3 changed files with 5 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
return {
{ import = "dot013.plugins.appearance" },
{ import = "dot013.plugins.lsp" },
{ import = "dot013.plugins.navigation" },
{ import = "dot013.plugins.treesitter" },

View File

@@ -27,6 +27,8 @@ local lsps = {
},
},
},
["gopls"] = {},
["rust_analyzer"] = {},
}
return {

View File

@@ -34,7 +34,9 @@
];
languageServers = with pkgs; [
gopls
lua-language-server
rust-analyzer
];
foldPlugins = builtins.foldl' (acc: next: acc ++ [next] ++ (foldPlugins (next.dependencies or []))) [];