diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/lsp.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/lsp.lua b/server/src/lsp.lua index 3f804ab4..c557d480 100644 --- a/server/src/lsp.lua +++ b/server/src/lsp.lua @@ -152,6 +152,7 @@ function mt:saveText(uri, version, text) end obj.version = version obj.text = text + self._need_compile[uri] = true else self._file[uri] = { version = version, @@ -190,6 +191,7 @@ end function mt:removeText(uri) self._file[uri] = nil + self._need_compile[uri] = nil end function mt:setMethod(method) |