diff options
Diffstat (limited to 'script')
-rw-r--r-- | script/files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/files.lua b/script/files.lua index c0d5fe2e..57f51af3 100644 --- a/script/files.lua +++ b/script/files.lua @@ -145,7 +145,7 @@ function m.setText(uri, text, isTrust) if file.trusted and not isTrust then return end - if file.text == text then + if file.originText == text then return end local newText = pluginOnSetText(file, text) |