nvim: add rust_analyzer as language server

This commit is contained in:
Moritz Böhme 2023-02-24 14:07:58 +01:00
parent 1815894015
commit 05014b9ec7
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

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