From fdaa355b920a2d22f310df8d16102dd90d75c019 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 14 Dec 2020 11:09:19 +0800 Subject: not need --- script/provider/provider.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'script') 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 } -- cgit v1.2.3