summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorfesily <fesil@foxmail.com>2023-05-12 15:41:56 +0800
committerfesily <fesil@foxmail.com>2023-05-12 15:41:56 +0800
commitb4fc4f2293e8b00dde763e0517081b067f82eeb0 (patch)
tree692f7434921712458ce01f8f033bf80b75e8b301 /script
parentbb4558c1a2ecba1b345de9f6a0b238022ecebfee (diff)
downloadlua-language-server-b4fc4f2293e8b00dde763e0517081b067f82eeb0.zip
fix test
Diffstat (limited to 'script')
-rw-r--r--script/plugin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/plugin.lua b/script/plugin.lua
index 7afcbc0a..fc59bbad 100644
--- a/script/plugin.lua
+++ b/script/plugin.lua
@@ -6,7 +6,6 @@ local await = require 'await'
local scope = require 'workspace.scope'
local ws = require 'workspace'
local fs = require 'bee.filesystem'
-require 'plugins'
---@class plugin
local m = {}
@@ -129,6 +128,7 @@ end
ws.watch(function (ev, uri)
if ev == 'startReload' then
+ require 'plugins'
initPlugin(uri)
end
end)