[nvim] fix: path change in sumneko_lua
This commit is contained in:
parent
e3be31bef9
commit
9f1c572139
@ -3,13 +3,11 @@
|
|||||||
-- License : GPLv3
|
-- License : GPLv3
|
||||||
-- Description : sumneko (lua) config file for lsp
|
-- Description : sumneko (lua) config file for lsp
|
||||||
|
|
||||||
local system_name = "Linux"
|
|
||||||
|
|
||||||
-- set the path to the sumneko installation; if you previously installed via the now deprecated :LspInstall, use
|
-- set the path to the sumneko installation; if you previously installed via the now deprecated :LspInstall, use
|
||||||
local sumneko_root_path = vim.fn.stdpath("data") ..
|
local sumneko_root_path = vim.fn.stdpath("data") ..
|
||||||
"/lsp_servers/sumneko_lua/extension/server"
|
"/lsp_servers/sumneko_lua/extension/server"
|
||||||
local sumneko_binary = sumneko_root_path .. "/bin/" .. system_name ..
|
local sumneko_binary = sumneko_root_path .. "/bin/" .. "/lua-language-server"
|
||||||
"/lua-language-server"
|
|
||||||
|
|
||||||
local runtime_path = vim.split(package.path, ';')
|
local runtime_path = vim.split(package.path, ';')
|
||||||
table.insert(runtime_path, "lua/?.lua")
|
table.insert(runtime_path, "lua/?.lua")
|
||||||
|
Reference in New Issue
Block a user