summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-14 11:09:19 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-14 11:29:35 +0800
commitfdaa355b920a2d22f310df8d16102dd90d75c019 (patch)
treed311e47663ad0d640fc80a20cf64b9c17f12e8cd /script
parent20aa847d7f7280e97bb389234e6955023a6f24eb (diff)
downloadlua-language-server-fdaa355b920a2d22f310df8d16102dd90d75c019.zip
not need
Diffstat (limited to 'script')
-rw-r--r--script/provider/provider.lua3
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
}