pub fn token_types() -> Vec<SemanticTokenType>Expand description
The semantic-token type legend, mirrored from the single source of truth in
sql-dialect-fmt-highlight (semantic::SemanticTokenType::LEGEND). A token’s token_type field is
an index into this slice, so the order here is the contract with the editor (declared in the
server’s capabilities) and must equal the highlighter’s legend — otherwise an editor would
decode our token types against the wrong names.