summaryrefslogtreecommitdiff
path: root/script/files.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/files.lua')
-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