Skip to content

textEdit completion item property is not resolved lazily #72

@ypomortsev

Description

@ypomortsev

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:

Screenshot from 2024-10-14 13-20-39
(pressing Enter to complete)
Screenshot from 2024-10-14 13-21-16

Expected, without textEdit in capabilities:

Screenshot from 2024-10-14 13-21-59
(pressing Enter to complete)
Screenshot from 2024-10-14 13-22-22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions