rust-analyzer name is different for lsp and for mason
This commit is contained in:
parent
9a52377e2d
commit
fe3835e501
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user