Lsp init stuff
This commit is contained in:
parent
d36506a0e8
commit
b8ca209368
1 changed files with 9 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue