rust-analyzer name is different for lsp and for mason

This commit is contained in:
serxoz 2022-08-02 18:40:02 +02:00
parent 9a52377e2d
commit fe3835e501

View File

@ -3,7 +3,7 @@ local on_attach = require("plugins.configs.lspconfig").on_attach
local capabilities = require("plugins.configs.lspconfig").capabilities
local lspconfig = require "lspconfig"
local servers = { "html", "cssls", "clangd", "gopls", "pyright", "rust-analyzer"}
local servers = { "html", "cssls", "clangd", "gopls", "pyright", "rust_analyzer"}
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {