summaryrefslogtreecommitdiff
path: root/script/workspace
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-02-02 17:58:34 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-02-02 17:58:34 +0800
commit3254ba0c91e682f7c2487c4633309c10a86c82c6 (patch)
tree6834e4d07cfb18c7bf9d68860167ab6793b75656 /script/workspace
parentf5ae885f62c8bf5a3b6086177b5a703406459916 (diff)
downloadlua-language-server-3254ba0c91e682f7c2487c4633309c10a86c82c6.zip
still using `didChangeWatchedFiles`
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 2e47bb7e..667a05f2 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -261,7 +261,7 @@ function m.awaitLoadFile(uri)
local native = m.getNativeMatcher()
if native then
log.info('Scan files at:', m.path)
- native:scan(uri, nativeLoader)
+ native:scan(furi.decode(uri), nativeLoader)
end
end