summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorAndreas <andreas.matthias@gmail.com>2024-02-24 20:40:18 +0100
committerAndreas <andreas.matthias@gmail.com>2024-02-24 20:40:18 +0100
commitd99570be1fefc8b0e8e1420ae564f375258339e7 (patch)
tree2d6ffe23e31a7c5414ad1a45b377c9e9ca5bd561 /script
parente9e8f67a25ef4f76e0b66acc69fc210b2ce3573a (diff)
parent21d20b1522d2e76cb511b016d90dbd89d2acdcbc (diff)
downloadlua-language-server-d99570be1fefc8b0e8e1420ae564f375258339e7.zip
Merge branch 'master' into async
Diffstat (limited to 'script')
-rw-r--r--script/cli/check.lua1
-rw-r--r--script/plugin.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/script/cli/check.lua b/script/cli/check.lua
index 4295fa06..146035b6 100644
--- a/script/cli/check.lua
+++ b/script/cli/check.lua
@@ -11,6 +11,7 @@ local config = require 'config.config'
local fs = require 'bee.filesystem'
local provider = require 'provider'
+require 'plugin'
require 'vm'
lang(LOCALE)
diff --git a/script/plugin.lua b/script/plugin.lua
index b297cd9b..b77511ff 100644
--- a/script/plugin.lua
+++ b/script/plugin.lua
@@ -146,6 +146,7 @@ local function initPlugin(uri)
return
end
local args = config.get(scp.uri, 'Lua.runtime.pluginArgs')
+ if args == nil then args = {} end
if type(pluginConfigPaths) == 'string' then
pluginConfigPaths = { pluginConfigPaths }
end