aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/config/lsp.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua
index 56dcc31..48253b9 100644
--- a/lua/config/lsp.lua
+++ b/lua/config/lsp.lua
@@ -180,8 +180,8 @@ if utils.executable("bash-language-server") then
end
if utils.executable("lua-language-server") then
- -- settings for lua-language-server can be found on https://github.com/sumneko/lua-language-server/wiki/Settings .
- lspconfig.sumneko_lua.setup {
+ -- settings for lua-language-server can be found on https://github.com/LuaLS/lua-language-server/wiki/Settings .
+ lspconfig.lua_ls.setup {
on_attach = custom_attach,
settings = {
Lua = {
@@ -195,8 +195,8 @@ if utils.executable("lua-language-server") then
},
workspace = {
-- Make the server aware of Neovim runtime files,
- -- see also https://github.com/sumneko/lua-language-server/wiki/Libraries#link-to-workspace .
- -- Lua-dev.nvim also has similar settings for sumneko lua, https://github.com/folke/lua-dev.nvim/blob/main/lua/lua-dev/sumneko.lua .
+ -- see also https://github.com/LuaLS/lua-language-server/wiki/Libraries#link-to-workspace .
+ -- Lua-dev.nvim also has similar settings for lua ls, https://github.com/folke/neodev.nvim/blob/main/lua/neodev/luals.lua .
library = {
fn.stdpath("data") .. "/site/pack/packer/opt/emmylua-nvim",
fn.stdpath("config"),