File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 4
4
* ` FIX ` loaded new file with ignored filename
5
5
* ` FIX ` [ #536 ] ( https://github.com./sumneko/lua-language-server/issues/536 )
6
6
* ` FIX ` [ #537 ] ( https://github.com./sumneko/lua-language-server/issues/537 )
7
+ * ` FIX ` [ #538 ] ( https://github.com./sumneko/lua-language-server/issues/538 )
7
8
* ` FIX ` [ #539 ] ( https://github.com./sumneko/lua-language-server/issues/539 )
8
9
9
10
## 1.21.1
Original file line number Diff line number Diff line change @@ -349,11 +349,11 @@ function m.findUrisByFilePath(path)
349
349
if platform .OS ~= ' Windows' then
350
350
uri = files .getOriginUri (uri )
351
351
end
352
- if not uri :find (lpath , 1 , true ) then
352
+ local curPath = furi .decode (files .getOriginUri (uri ))
353
+ if not curPath :find (lpath , 1 , true ) then
353
354
goto CONTINUE
354
355
end
355
356
local pathLen = # path
356
- local curPath = furi .decode (files .getOriginUri (uri ))
357
357
local curLen = # curPath
358
358
local seg = curPath :sub (curLen - pathLen , curLen - pathLen )
359
359
if seg == ' /' or seg == ' \\ ' or seg == ' ' then
You can’t perform that action at this time.
0 commit comments