diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-06-21 15:39:24 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-06-21 15:39:24 +0800 |
commit | 600f5e09cd79585aba80ee692ca0a0995b874451 (patch) | |
tree | 943ac58ed3dc1417b56c24902862376dfbba6778 /script | |
parent | 0698837b756f5a0239f9c4cfeefc075835e93f5a (diff) | |
download | lua-language-server-600f5e09cd79585aba80ee692ca0a0995b874451.zip |
improve
Diffstat (limited to 'script')
-rw-r--r-- | script/plugin.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/plugin.lua b/script/plugin.lua index 369afd66..c55960a1 100644 --- a/script/plugin.lua +++ b/script/plugin.lua @@ -49,6 +49,10 @@ function m.init() end end + if not config.config.runtime.plugin or config.config.runtime.plugin == '' then + return + end + local pluginPath = fs.path(config.config.runtime.plugin) if pluginPath:is_relative() then if not ws.path then |