Skip to content

Commit

Permalink
fix #1537
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Sep 8, 2022
1 parent 1f5057c commit 01fe08b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

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

## 3.5.5
`2022-9-7`
Expand Down
6 changes: 3 additions & 3 deletions script/files.lua
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,11 @@ function m.getRealUri(uri)
if uri == ruri then
return ruri
end
if not uriMap[ruri] then
uriMap[ruri] = uri
if not uriMap[uri] then
uriMap[uri] = ruri
log.warn(('Fix real file uri: %s -> %s'):format(uri, ruri))
end
return uriMap[ruri]
return uriMap[uri]
end

--- 打开文件
Expand Down

0 comments on commit 01fe08b

Please sign in to comment.