summaryrefslogtreecommitdiff
path: root/server/src/workspace.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-09-05 15:10:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-09-05 15:10:20 +0800
commit0e62ee231b9442530d44780cbd1d7a491f84fd35 (patch)
tree7989682d876b4cd8550e6da703f86ac9bf956288 /server/src/workspace.lua
parent44a2f2d83de1b972522802534fbb376d7da2eb91 (diff)
downloadlua-language-server-0e62ee231b9442530d44780cbd1d7a491f84fd35.zip
修正
Diffstat (limited to 'server/src/workspace.lua')
-rw-r--r--server/src/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua
index d50deca7..f9b243ad 100644
--- a/server/src/workspace.lua
+++ b/server/src/workspace.lua
@@ -378,7 +378,7 @@ function mt:matchPath(baseUri, input)
if not basePath then
return nil
end
- local baseName = getFileName()
+ local baseName = getFileName(basePath)
local rootLen = #self.root:string(basePath)
local map = {}
for filename in pairs(self.files) do