feat: add gopls and rust-analyzer lsp's
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
return {
|
||||
{ import = "dot013.plugins.appearance" },
|
||||
{ import = "dot013.plugins.lsp" },
|
||||
{ import = "dot013.plugins.navigation" },
|
||||
{ import = "dot013.plugins.treesitter" },
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@ local lsps = {
|
||||
},
|
||||
},
|
||||
},
|
||||
["gopls"] = {},
|
||||
["rust_analyzer"] = {},
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -34,7 +34,9 @@
|
||||
];
|
||||
|
||||
languageServers = with pkgs; [
|
||||
gopls
|
||||
lua-language-server
|
||||
rust-analyzer
|
||||
];
|
||||
|
||||
foldPlugins = builtins.foldl' (acc: next: acc ++ [next] ++ (foldPlugins (next.dependencies or []))) [];
|
||||
|
||||
Reference in New Issue
Block a user