We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08ebbad commit 14760a6Copy full SHA for 14760a6
script/provider/provider.lua
@@ -831,15 +831,7 @@ m.register 'textDocument/semanticTokens/range' {
831
workspace.awaitReady(uri)
832
local _ <close> = progress.create(workspace.getScope(uri), lang.script.WINDOW_PROCESSING_SEMANTIC_RANGE, 0.5)
833
local core = require 'core.semantic-tokens'
834
- local cache = files.getOpenedCache(uri)
835
- local start, finish
836
- if cache and not cache['firstSemantic'] then
837
- cache['firstSemantic'] = true
838
- start = 0
839
- finish = math.huge
840
- else
841
- start, finish = converter.unpackRange(uri, params.range)
842
- end
+ local start, finish = converter.unpackRange(uri, params.range)
843
local results = core(uri, start, finish)
844
return {
845
data = results
0 commit comments