summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-18 15:01:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-18 15:01:31 +0800
commit097d742ee92e40230a16c14c0f41ce149658141d (patch)
tree4dc0468d2f9cdb0be888829941adae624df42a01 /script/provider
parent9f6cf53d0452b33316225450af5022f70bffca4c (diff)
downloadlua-language-server-097d742ee92e40230a16c14c0f41ce149658141d.zip
improve initialization speed
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 66031f15..2d3ef6b3 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -137,7 +137,7 @@ proto.on('initialized', function (params)
proto.awaitRequest('client/registerCapability', {
registrations = registrations
})
- workspace.awaitReload()
+ workspace.reload()
return true
end)