From fe3835e501c0345d2c95d3f98d5dee7eefc5427b Mon Sep 17 00:00:00 2001 From: serxoz Date: Tue, 2 Aug 2022 18:40:02 +0200 Subject: [PATCH] rust-analyzer name is different for lsp and for mason --- nvim/custom/plugins/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/custom/plugins/lspconfig.lua b/nvim/custom/plugins/lspconfig.lua index 3dd39d8..cac6bfd 100644 --- a/nvim/custom/plugins/lspconfig.lua +++ b/nvim/custom/plugins/lspconfig.lua @@ -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 {