From dc697162af922c216607820fc6ce26c00c05c1f6 Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 1 Dec 2023 15:26:00 -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, })