Lsp init stuff

This commit is contained in:
buffet 2022-08-16 21:06:39 +00:00
parent d36506a0e8
commit b8ca209368

View file

@ -46,7 +46,7 @@
{
plugin = lspsaga-nvim;
# TODO: lspsaga config
config = "lua require 'lspsaga'.init_lsp_saga()";
}
{
@ -59,7 +59,14 @@
{
plugin = nvim-lspconfig;
# TODO: lspconfig config
config = let
configure = srv: "lua require 'lspconfig'.${srv}.setup {}";
servers = [
"clangd"
"rust_analyzer"
];
in
lib.strings.concatStringsSep "\n" (builtins.map configure servers);
}
{