nvim_runtime_lua

STCurrentResult

Fields5

STCurrentResult.version : nil | integer

document version associated with this result

STCurrentResult.result_id : nil | string

resultId from the server; used with delta requests

STCurrentResult.highlights : STTokenRange[] | nil

cache of highlight ranges for this document version

STCurrentResult.tokens : uinteger[] | nil

raw token array as received by the server. used for calculating delta responses

STCurrentResult.namespace_cleared : nil | boolean

whether the namespace was cleared for this result yet