diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-01-28 17:58:03 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-01-28 17:58:03 +0800 |
commit | 457b73fd22d8ed34301a6a606636d3003735b4dc (patch) | |
tree | f74575b040e3877bff1a91f9ef89552fea184411 /script/provider | |
parent | 66045076af488062cb8d486e0abfb33a0042be6d (diff) | |
download | lua-language-server-457b73fd22d8ed34301a6a606636d3003735b4dc.zip |
not necessary
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/diagnostic.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index f2d0dfaf..7be65339 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -299,9 +299,6 @@ function m.diagnosticsAll() if delay < 0 then return end - if m.diagnosticsAllVersion == files.globalVersion then - return - end await.close 'diagnosticsAll' await.call(function () await.sleep(delay) @@ -326,7 +323,6 @@ function m.diagnosticsAll() end end bar:remove() - m.diagnosticsAllVersion = files.globalVersion log.debug('全文诊断耗时:', os.clock() - clock) end, 'files.version', 'diagnosticsAll') end |