diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-09 11:12:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-09 11:12:23 +0800 |
commit | 0748f983c77d6e133959891823ee1c338d3deee9 (patch) | |
tree | 06a437ffaafecbefbda3087432f13fc9d18be3f9 /script/provider | |
parent | 9881e7cd087deb3cdba2eae2071fcfd955d27477 (diff) | |
download | lua-language-server-0748f983c77d6e133959891823ee1c338d3deee9.zip |
improve didChange
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/provider.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 10b5fc8b..bf9dd9a0 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -279,6 +279,7 @@ proto.on('textDocument/didChange', function (params) else text = change.text end + files.setRawText(uri, text) end files.setText(uri, text, true) end) |