Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: suggest a better way to configure LSP capabilities #1754

Closed
wants to merge 1 commit into from

Conversation

wookayin
Copy link
Contributor

Using require('cmp_nvim_lsp').default_capabilities() alone will be not
enough. We have to merge with the default LSP capabilities producced by
vim.lsp.protocol.make_client_capabilities().

See also hrsh7th/cmp-nvim-lsp#64

Closes #1265

Using `require('cmp_nvim_lsp').default_capabilities()` alone will be not
enough. We have to merge with the default LSP capabilities producced by
`vim.lsp.protocol.make_client_capabilities()`.

See also hrsh7th/cmp-nvim-lsp#64

Closes hrsh7th#1265
@liskin
Copy link

liskin commented Dec 10, 2023

As explained in hrsh7th/cmp-nvim-lsp#44 (comment) (hrsh7th/cmp-nvim-lsp#64 (comment)), this doesn't seem to be necessary.

@hrsh7th
Copy link
Owner

hrsh7th commented Dec 10, 2023

@liskin Thank you.

@hrsh7th hrsh7th closed this Dec 10, 2023
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.

Mention change to default_capabilities() in breaking changes issue #231
3 participants