diff options
Diffstat (limited to 'script-beta/provider/diagnostic.lua')
-rw-r--r-- | script-beta/provider/diagnostic.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/script-beta/provider/diagnostic.lua b/script-beta/provider/diagnostic.lua index 9c2a7267..02cbebfb 100644 --- a/script-beta/provider/diagnostic.lua +++ b/script-beta/provider/diagnostic.lua @@ -161,11 +161,6 @@ function m.doDiagnostic(uri) local syntax = m.syntaxErrors(uri, ast) local diags = {} - if syntax then - for _, err in ipairs(syntax) do - diags[#diags+1] = err - end - end local function pushResult() local full = merge(syntax, diags) |