summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-22 18:40:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-22 18:40:50 +0800
commit8683cfe2080a432d6bf33fcdc7b171b6521ef955 (patch)
treef6192a33999be9b18d6ea76986c1b20c7f49bd27
parentaaa26c3d7259319359565a77287a923c0822bba9 (diff)
downloadlua-language-server-8683cfe2080a432d6bf33fcdc7b171b6521ef955.zip
stash
-rw-r--r--script/files.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua
index 679aa0cb..47e6e83b 100644
--- a/script/files.lua
+++ b/script/files.lua
@@ -108,7 +108,7 @@ function m.setDiffInfo(uri, info)
end
local function pluginOnSetText(uri, text)
- m.setDiffInfo(nil)
+ m.setDiffInfo(uri, nil)
local suc, result = plugin.dispatch('OnSetText', uri, text)
if not suc then
return text