Skip to content

randomness in nvim-cmp functionality #407

Answered by aggonis
aggonis asked this question in Q&A
Discussion options

You must be logged in to vote

thanks @VonHeikemen. turns out the real culprit was my config setup for hrsh7th/cmp-nvim-lsp, specifically the following bit:

config = function()
    require('cmp').setup({
      sources = {
        name = 'nvim_lsp',
      }
    })
  end,

i misunderstood what the README.md was suggesting, the sources setup was applicable to the main nvim-cmp 🤦‍♂️ oh well... 🫠

so for those setting up this via lazy.nvim, all's needed for the cmp-nvim-lsp part is:

return {
  'hrsh7th/cmp-nvim-lsp',
}

one more question for you if i may. i saw you mentioned in one of your blogposts that nvim-0.11 adds native autocompletion support, which is indeed what i found on their roadmap as well, does this mean that n…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@aggonis
Comment options

Answer selected by aggonis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants