diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-28 17:57:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-28 17:57:04 +0800 |
commit | 66045076af488062cb8d486e0abfb33a0042be6d (patch) | |
tree | ad2334413c9c6a8199fe222534597d194034fa76 /script | |
parent | 8a3801e409959cc3f0d73d5048e20a539a76afc7 (diff) | |
download | lua-language-server-66045076af488062cb8d486e0abfb33a0042be6d.zip |
should check originText
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) |