Allow the `request` parameter in `tokens_to_ranges` to be `nil` and update version checking logic accordingly. This prevents errors when the request is not present and improves robustness of semantic token handling.
vim.lsp.get_buffers_by_client_id
vim.lsp.protocol.Methods
exit_timeout
version
textDocument/publishDiagnostics