diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-12-14 11:09:19 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-12-14 11:29:35 +0800 |
commit | fdaa355b920a2d22f310df8d16102dd90d75c019 (patch) | |
tree | d311e47663ad0d640fc80a20cf64b9c17f12e8cd /script/provider | |
parent | 20aa847d7f7280e97bb389234e6955023a6f24eb (diff) | |
download | lua-language-server-fdaa355b920a2d22f310df8d16102dd90d75c019.zip |
not need
Diffstat (limited to 'script/provider')
-rw-r--r-- | script/provider/provider.lua | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 6fb5635e..2fb999e7 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -652,9 +652,6 @@ proto.on('textDocument/semanticTokens/full', function (params) text = files.getText(uri) end local results = core(uri, 0, #text) - if not results or #results == 0 then - return nil - end return { data = results } |