diff --git a/.config/nvim/lua/lsp/lua.lua b/.config/nvim/lua/lsp/lua.lua index 892afc2..7e55549 100644 --- a/.config/nvim/lua/lsp/lua.lua +++ b/.config/nvim/lua/lsp/lua.lua @@ -6,8 +6,10 @@ local system_name = "Linux" -- set the path to the sumneko installation; if you previously installed via the now deprecated :LspInstall, use -local sumneko_root_path = globals.lsp_path .. "/sumneko_lua" -local sumneko_binary = sumneko_root_path.."/bin/"..system_name.."/lua-language-server" +local sumneko_root_path = vim.fn.stdpath("data") .. + "/lsp_servers/sumneko_lua/extension/server" +local sumneko_binary = sumneko_root_path .. "/bin/" .. system_name .. + "/lua-language-server" require'lspconfig'.sumneko_lua.setup { cmd = {sumneko_binary, "-E", sumneko_root_path .. "/main.lua"}; diff --git a/.local/share/nvim/lsp/sumneko_lua b/.local/share/nvim/lsp/sumneko_lua deleted file mode 160000 index c876e0d..0000000 --- a/.local/share/nvim/lsp/sumneko_lua +++ /dev/null @@ -1 +0,0 @@ -Subproject commit c876e0da1c0c2d01db9cb0c6f2914659318e0460