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, })