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

cmp_nvim_lsp.update_capabilities is deprecated #79

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

rondevs
Copy link
Contributor

@rondevs rondevs commented Oct 18, 2022

Screenshot from 2022-10-18 12-11-01

@craftzdog craftzdog merged commit 1e82224 into craftzdog:master Oct 19, 2022
@craftzdog
Copy link
Owner

Thx!

@@ -65,7 +65,7 @@ protocol.CompletionItemKind = {
}

-- Set up completion using nvim_cmp with LSP source
local capabilities = require('cmp_nvim_lsp').update_capabilities(
local capabilities = require('cmp_nvim_lsp').default_capabilities(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't it need to be just
local capabilities = require("cmp_nvim_lsp").default_capabilities()

Please refer to hrsh7th/cmp-nvim-lsp#38

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks

craftzdog added a commit that referenced this pull request Oct 20, 2022
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.

None yet

3 participants