summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Valpey <36710691+bavalpey@users.noreply.github.com>2024-06-19 17:26:57 -0500
committerGitHub <noreply@github.com>2024-06-19 17:26:57 -0500
commitec92fcc23c8b66d8adfcfe7ebd17774776073e92 (patch)
treec20a1c73a1d0c4900e0d84df042e9059dc9ccbcb
parentf4db96ad7156657fda6951d858fcb5be18921bc9 (diff)
parent40fcae7f4c90e4fba78d5ea44fc94b93b20e0c09 (diff)
downloadlua-language-server-ec92fcc23c8b66d8adfcfe7ebd17774776073e92.zip
Merge branch 'LuaLS:master' into master
-rw-r--r--script/plugin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugin.lua b/script/plugin.lua
index 80179633..b8ecfb6a 100644
--- a/script/plugin.lua
+++ b/script/plugin.lua
@@ -156,7 +156,7 @@ local function initPlugin(uri)
end
for i, pluginConfigPath in ipairs(pluginConfigPaths) do
local myArgs = args
- if args then
+ if args and not args[1] then
for k, v in pairs(args) do
if pluginConfigPath:find(k, 1, true) then
myArgs = v