summaryrefslogtreecommitdiff
path: root/script/workspace
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-12-16 20:00:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-12-16 20:00:24 +0800
commit89a1c809662a2f74505b742cafcf78359db21ef3 (patch)
treef9e6bfdd021a96bb273dcd8b686a922ee29273fb /script/workspace
parent6a99efd3ab8708f8efd5f12a9a4bb93acf29c661 (diff)
downloadlua-language-server-89a1c809662a2f74505b742cafcf78359db21ef3.zip
pass tests
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/loading.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/script/workspace/loading.lua b/script/workspace/loading.lua
index 28c76561..9344949c 100644
--- a/script/workspace/loading.lua
+++ b/script/workspace/loading.lua
@@ -99,6 +99,7 @@ function mt:loadFile(uri, libraryUri)
-- self._sets[#self._sets+1] = waker
--end)
files.setText(uri, content, false)
+ files.getState(uri)
if not self._cache[uri] then
files.addRef(uri)
end