diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-12-16 20:13:53 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-12-16 20:13:53 +0800 |
commit | 3b526aad8f097c4381cee9372622fa4c0bc5decb (patch) | |
tree | ebd8c3b104d047fe004042544373814aa47d17cf /script/provider/provider.lua | |
parent | 89a1c809662a2f74505b742cafcf78359db21ef3 (diff) | |
download | lua-language-server-3b526aad8f097c4381cee9372622fa4c0bc5decb.zip |
simple state persistence
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 488f1a61..ea02579c 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -134,7 +134,6 @@ m.register 'initialize' { m.register 'initialized'{ ---@async function (params) - files.init() local _ <close> = progress.create(workspace.getFirstScope().uri, lang.script.WINDOW_INITIALIZING, 0.5) m.updateConfig() local registrations = {} @@ -277,7 +276,7 @@ m.register 'textDocument/didOpen' { end) files.open(uri) workspace.awaitReady(uri) - files.getState(uri) + files.compileState(uri) end } |