Skip to content

Commit 01fe08b

Browse files
committed
fix #1537
1 parent 1f5057c commit 01fe08b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## 3.6.0
44
* `FIX` [#1506](https://github.com/sumneko/lua-language-server/issues/1506)
5+
* `FIX` [#1537](https://github.com/sumneko/lua-language-server/issues/1537)
56

67
## 3.5.5
78
`2022-9-7`

script/files.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ function m.getRealUri(uri)
7878
if uri == ruri then
7979
return ruri
8080
end
81-
if not uriMap[ruri] then
82-
uriMap[ruri] = uri
81+
if not uriMap[uri] then
82+
uriMap[uri] = ruri
8383
log.warn(('Fix real file uri: %s -> %s'):format(uri, ruri))
8484
end
85-
return uriMap[ruri]
85+
return uriMap[uri]
8686
end
8787

8888
--- 打开文件

0 commit comments

Comments
 (0)