[nvim] feat: remove sumneko_lsp submodule

!!! BREAKING: install sumneko_lua through nvim
This commit is contained in:
David JULIEN 2021-10-17 12:46:32 +02:00
parent ca81062105
commit 17f7b09431
No known key found for this signature in database
GPG Key ID: 4B388E8BD9D47382
2 changed files with 4 additions and 3 deletions

View File

@ -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"};

@ -1 +0,0 @@
Subproject commit c876e0da1c0c2d01db9cb0c6f2914659318e0460