Skip to content

Conversation

gsalvatella
Copy link

The default_capabilities() function does only return the textDocument.completion subset of capabilities. The correct approach to advertise the full set of nvim-cmp's capabilities to the LSP servers is to first get the default set of capabilities, and then extend it with the subset returned by the function. Use this approach in the documentation.

The `default_capabilities()` function does only return the
`textDocument.completion` subset of capabilities. The correct approach
to advertise the full set of nvim-cmp's capabilities to the LSP servers
is to first get the default set of capabilities, and then extend it with
the subset returned by the function. Use this approach in the
documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant