nvim: add rust_analyzer as language server

nixos
Moritz Böhme 2023-02-24 14:07:58 +01:00
parent 1815894015
commit 05014b9ec7
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ local function lspconfig_setup(lsp, options)
lspconfig[lsp].setup(final_options) lspconfig[lsp].setup(final_options)
end end
local servers = { "nil_ls", "pylsp" } local servers = { "nil_ls", "pylsp", "rust_analyzer" }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
lspconfig_setup(lsp, {}) lspconfig_setup(lsp, {})
end end