tzachar / cmp-tabnine

TabNine plugin for hrsh7th/nvim-cmp
MIT License
287 stars 28 forks source link

cmp-tabnine will disable other completion #10

Closed dcy closed 3 years ago

dcy commented 3 years ago

When i don't set cmp-tabnine 20211006141147

20211006140644

And when i set cmp-tabnine

require'cmp'.setup {
 sources = {
    { name = 'cmp_tabnine' },
 },
}

20211006141043

20211006140853 The nvim-cmp's not work

tzachar commented 3 years ago

Well, you need to add all the other sources.... for example:

    sources = {
        { name = 'cmp_tabnine' },
        { name = 'buffer' },
        { name = 'path' },
    },