diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 17:30:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-12-20 17:30:44 +0800 |
commit | fe7fcceba31069c08121c6a41cad6a9db5c05d07 (patch) | |
tree | 2e3bcab7e396321567ac8fbb9cd807a5a8d06e87 /server/src | |
parent | 64e1114725a8956ac9f280b923fc8eacb0f07265 (diff) | |
download | lua-language-server-fe7fcceba31069c08121c6a41cad6a9db5c05d07.zip |
漏了
Diffstat (limited to 'server/src')
-rw-r--r-- | server/src/service.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/service.lua b/server/src/service.lua index b48c379f..912917ae 100644 --- a/server/src/service.lua +++ b/server/src/service.lua @@ -201,6 +201,10 @@ function mt:close(uri) self._opening[uri] = nil end +function mt:isOpen(uri) + return self._opening[uri] == true +end + function mt:reCompile() for uri in pairs(self._opening) do self._needCompile[uri] = true |