diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-01-05 21:01:45 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-01-05 21:01:45 +0800 |
commit | 36a0e0f40dafdab77dd3df2ead8bceb92e3ae193 (patch) | |
tree | ef9ebec7368bc53ade8f4d3a23241c1b2a0c953b /script/provider | |
parent | d99e03fd46830c31b14646f4ca6344f660059af3 (diff) | |
download | lua-language-server-36a0e0f40dafdab77dd3df2ead8bceb92e3ae193.zip |
`diagnostics.workspaceRate` only effect workspace
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/diagnostic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua index 0e2fbfde..c01c56b0 100644 --- a/script/provider/diagnostic.lua +++ b/script/provider/diagnostic.lua @@ -237,7 +237,7 @@ function m.doDiagnostic(uri, isScopeDiag) local lastPushClock = os.clock() ---@async - xpcall(core, log.error, uri, function (result) + xpcall(core, log.error, uri, isScopeDiag, function (result) diags[#diags+1] = buildDiagnostic(uri, result) if not isScopeDiag and os.clock() - lastPushClock >= 0.2 then |