summaryrefslogtreecommitdiff
path: root/script/core/command/jsonToLua.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-18 16:37:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-18 16:37:56 +0800
commit9d955bee3c8471ecb2babc63be4794118890af14 (patch)
tree2e8f72701fe3a4655414b24f75a6c1fffe6ab4f4 /script/core/command/jsonToLua.lua
parent69c0e4c50101ee29ac1459897495d4c1219bb8c8 (diff)
downloadlua-language-server-9d955bee3c8471ecb2babc63be4794118890af14.zip
no longer ignore file names case in Windows
Diffstat (limited to 'script/core/command/jsonToLua.lua')
-rw-r--r--script/core/command/jsonToLua.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/command/jsonToLua.lua b/script/core/command/jsonToLua.lua
index 6b5613b9..c4f001ff 100644
--- a/script/core/command/jsonToLua.lua
+++ b/script/core/command/jsonToLua.lua
@@ -24,7 +24,7 @@ return function (data)
label = 'json to lua',
edit = {
changes = {
- [files.getOriginUri(data.uri)] = {
+ [data.uri] = {
{
range = files.range(data.uri, data.start, data.finish),
newText = luaStr,