From 0748f983c77d6e133959891823ee1c338d3deee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 9 Mar 2021 11:12:23 +0800 Subject: improve didChange --- script/provider/provider.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'script/provider/provider.lua') 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) -- cgit v1.2.3