diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-22 17:24:44 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-22 17:24:44 +0800 |
commit | 32aa2dac835a0c74b82b19d83d9fd06be7a947ce (patch) | |
tree | d3e162b147ebc030de703439a7dcf94bce013fe9 /script/core/diagnostics/init.lua | |
parent | a45e980f0d51c47229d18d0f859e718d203b472f (diff) | |
download | lua-language-server-32aa2dac835a0c74b82b19d83d9fd06be7a947ce.zip |
cleanup
Diffstat (limited to 'script/core/diagnostics/init.lua')
-rw-r--r-- | script/core/diagnostics/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/init.lua b/script/core/diagnostics/init.lua index 09688f6e..63a1bcf0 100644 --- a/script/core/diagnostics/init.lua +++ b/script/core/diagnostics/init.lua @@ -44,7 +44,7 @@ local function check(uri, name, results) if vm.isDiagDisabledAt(uri, result.start, name) then return end - if result.start == 0 then + if result.start < 0 then return end if mark[result.start] then |