From 0579f478549d8d4e10e31e1a1f12a1c2e9b807d9 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Thu, 16 Feb 2023 00:32:39 -0500 Subject: [PATCH] Fix lua_ls rename --- lua/plugins/lsp.lua | 2 +- lua/plugins/mason-lspconfig-nvim.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index a60b762..433cd93 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -46,7 +46,7 @@ require('lspconfig')['cssls'].setup({ -- ['rust-analyzer'] = {} -- } -- }) -require('lspconfig')['sumneko_lua'].setup({ +require('lspconfig')['lua_ls'].setup({ on_attach = on_attach, flags = lsp_flags, settings = { diff --git a/lua/plugins/mason-lspconfig-nvim.lua b/lua/plugins/mason-lspconfig-nvim.lua index 0a0a7b0..aa0944e 100644 --- a/lua/plugins/mason-lspconfig-nvim.lua +++ b/lua/plugins/mason-lspconfig-nvim.lua @@ -1,4 +1,4 @@ require('mason-lspconfig').setup({ - ensure_installed = { 'sumneko_lua', 'rust_analyzer', 'bashls', 'cssls', 'html', 'jsonls', 'sqls', 'taplo'}, + ensure_installed = { 'lua_ls', 'rust_analyzer', 'bashls', 'cssls', 'html', 'jsonls', 'sqls', 'taplo'}, automatic_installation = true, })