aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CONFIG.md8
-rw-r--r--lua/lspconfig/sumneko_lua.lua2
2 files changed, 8 insertions, 2 deletions
diff --git a/CONFIG.md b/CONFIG.md
index ea566087..ee8f5b52 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -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"};