diff options
author | Dmytro Meleshko <dmytro.meleshko@gmail.com> | 2021-11-24 13:37:48 +0200 |
---|---|---|
committer | Dmytro Meleshko <dmytro.meleshko@gmail.com> | 2021-11-24 13:37:48 +0200 |
commit | 41bda6cd48338a2df2b7baeeb53a987e4f803fbb (patch) | |
tree | 61761dd5f99809f54bfd38b06ad7cb2bdaef3141 /script/files.lua | |
parent | 1319f05cd4de50d7b01a297f39c4ad5a839ff7be (diff) | |
download | lua-language-server-41bda6cd48338a2df2b7baeeb53a987e4f803fbb.zip |
ensure that cachedRows of files are refreshed after didOpen
Diffstat (limited to 'script/files.lua')
-rw-r--r-- | script/files.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/files.lua b/script/files.lua index 4d649b29..da263dad 100644 --- a/script/files.lua +++ b/script/files.lua @@ -150,6 +150,7 @@ function m.setText(uri, text, isTrust, instance) file.text = newText file.trusted = isTrust file.originText = text + file.rows = nil file.words = nil m.astMap[uri] = nil file.cache = {} |