diff options
| -rw-r--r-- | CONFIG.md | 8 | ||||
| -rw-r--r-- | lua/lspconfig/sumneko_lua.lua | 2 |
2 files changed, 8 insertions, 2 deletions
@@ -4778,7 +4778,7 @@ end -- set the path to the sumneko installation; if you previously installed via the now deprecated :LspInstall, use local sumneko_root_path = vim.fn.stdpath('cache')..'/lspconfig/sumneko_lua/lua-language-server' -local sumneko_binary = sumneko_root_path.."/bin/"..system_name.."/lua-language-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"}; @@ -4953,6 +4953,12 @@ This server accepts configuration via the `settings` key. null +- **`Lua.runtime.plugin`**: `string` + + Default: `".vscode/lua/plugin.lua"` + + null + - **`Lua.runtime.special`**: `object` null diff --git a/lua/lspconfig/sumneko_lua.lua b/lua/lspconfig/sumneko_lua.lua index dcfb68c7..c42689e2 100644 --- a/lua/lspconfig/sumneko_lua.lua +++ b/lua/lspconfig/sumneko_lua.lua @@ -36,7 +36,7 @@ end -- set the path to the sumneko installation; if you previously installed via the now deprecated :LspInstall, use local sumneko_root_path = vim.fn.stdpath('cache')..'/lspconfig/sumneko_lua/lua-language-server' -local sumneko_binary = sumneko_root_path.."/bin/"..system_name.."/lua-language-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"}; |
