nvim_runtime_lua

lsp.SemanticTokens

Fields2

SemanticTokens.resultId : nil | string

An optional result id. If provided and clients support delta updating the client will include the result id in the next semantic token request. A server can then instead of computing all semantic tokens again simply send a delta.

SemanticTokens.data : uinteger[]

The actual tokens.