diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-09-05 15:10:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-09-05 15:10:20 +0800 |
commit | 0e62ee231b9442530d44780cbd1d7a491f84fd35 (patch) | |
tree | 7989682d876b4cd8550e6da703f86ac9bf956288 /server | |
parent | 44a2f2d83de1b972522802534fbb376d7da2eb91 (diff) | |
download | lua-language-server-0e62ee231b9442530d44780cbd1d7a491f84fd35.zip |
修正
Diffstat (limited to 'server')
-rw-r--r-- | server/src/workspace.lua | 2 |
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 |