rust-analyzer 2024-10-07 and newer does not send the textEdit completion property by if the client can resolve it lazily, introduced in rust-lang/rust-analyzer#18167.
cmp-nvim-lsp includes textEdit in its default_capabilities but does not seem to resolve it lazily, breaking completion:
Observed with textEdit in capabilities:

(pressing Enter to complete)

Expected, without textEdit in capabilities:

(pressing Enter to complete)

rust-analyzer 2024-10-07 and newer does not send the
textEditcompletion property by if the client can resolve it lazily, introduced in rust-lang/rust-analyzer#18167.cmp-nvim-lsp includes
textEditin itsdefault_capabilitiesbut does not seem to resolve it lazily, breaking completion:Observed with
textEditin capabilities:(pressing Enter to complete)
Expected, without
textEditin capabilities:(pressing Enter to complete)