summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-15 21:17:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-15 21:17:50 +0800
commitaae9cdb7ca5ecd749c1a64125faef2214baf066f (patch)
treeabe8df7249a27b80a76e7634248bce82af3f75fa
parentfcbd709d4d680dab952f19275d23a78160e2d619 (diff)
downloadlua-language-server-aae9cdb7ca5ecd749c1a64125faef2214baf066f.zip
修正rename导致的路径大小写问题
-rw-r--r--script-beta/core/rename.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script-beta/core/rename.lua b/script-beta/core/rename.lua
index e2c98b6f..3d8d3d45 100644
--- a/script-beta/core/rename.lua
+++ b/script-beta/core/rename.lua
@@ -377,7 +377,7 @@ function m.rename(uri, pos, newname)
start = start,
finish = finish,
text = text,
- uri = guide.getUri(target),
+ uri = files.getOriginUri(guide.getUri(target)),
}
end)