1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00

fix(nvim-cmp) change source priority

This commit is contained in:
Alexander Konotop 2022-07-24 11:07:48 +03:00 committed by GitHub
parent 15a33422d4
commit e3477f0801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,11 +20,11 @@ lua <<EOF
})}),
},
sources = cmp.config.sources({
{ name = 'path' },
{ name = 'nvim_lsp' },
}, {
{ name = 'buffer' },
}, {
{ name = 'nvim_lsp' },
{ name = 'path' },
})
})
-- The nvim-cmp almost supports LSP's capabilities so You should advertise it to LSP servers..