summaryrefslogtreecommitdiff
path: root/script/plugin.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-25 21:38:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-25 21:38:57 +0800
commit5ec8ad22d27051507c55d49d6144f08132976215 (patch)
tree75c843f738c0283eb19516293f857d29560d9b3c /script/plugin.lua
parent24f4dfa889cc66bd05223e5d8d36fa19865c772b (diff)
downloadlua-language-server-5ec8ad22d27051507c55d49d6144f08132976215.zip
cleanup
Diffstat (limited to 'script/plugin.lua')
-rw-r--r--script/plugin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugin.lua b/script/plugin.lua
index f56dc9f9..88c4578f 100644
--- a/script/plugin.lua
+++ b/script/plugin.lua
@@ -84,7 +84,7 @@ function m.init()
local ws = require 'workspace'
m.interface = {}
- local pluginPath = ws.getAbsolutePath(config.get 'Lua.runtime.plugin')
+ local pluginPath = ws.getAbsolutePath(config.get(nil, 'Lua.runtime.plugin'))
log.info('plugin path:', pluginPath)
if not pluginPath then
return