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/workspace | |
parent | 89a1c809662a2f74505b742cafcf78359db21ef3 (diff) | |
download | lua-language-server-3b526aad8f097c4381cee9372622fa4c0bc5decb.zip |
simple state persistence
Diffstat (limited to 'script/workspace')
-rw-r--r-- | script/workspace/loading.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/loading.lua b/script/workspace/loading.lua index 9344949c..112a6991 100644 --- a/script/workspace/loading.lua +++ b/script/workspace/loading.lua @@ -99,7 +99,7 @@ function mt:loadFile(uri, libraryUri) -- self._sets[#self._sets+1] = waker --end) files.setText(uri, content, false) - files.getState(uri) + files.compileState(uri) if not self._cache[uri] then files.addRef(uri) end |