summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-20 23:20:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-20 23:20:50 +0800
commit02b373942c8be088e61b6088c2ca943ecb1d5b8e (patch)
tree63837e6d58de672d02ecae96e0ec385a645d1838
parent829dcb1964491f1e10afa73a4f8444cdbc487a9f (diff)
downloadlua-language-server-02b373942c8be088e61b6088c2ca943ecb1d5b8e.zip
fix bug of workspace.isIgnored
-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 96b982b8..cfc94012 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -155,7 +155,7 @@ end
--- 文件是否被忽略
function m.isIgnored(uri)
- local path = furi.decode(uri)
+ local path = m.getRelativePath(uri)
local ignore = m.getNativeMatcher()
if not ignore then
return false