mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:50:05 +08:00
fix(nvim-cmp) change source priority
This commit is contained in:
parent
15a33422d4
commit
e3477f0801
@ -20,11 +20,11 @@ lua <<EOF
|
|||||||
})}),
|
})}),
|
||||||
},
|
},
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = 'path' },
|
{ name = 'nvim_lsp' },
|
||||||
}, {
|
}, {
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
}, {
|
}, {
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'path' },
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
-- The nvim-cmp almost supports LSP's capabilities so You should advertise it to LSP servers..
|
-- The nvim-cmp almost supports LSP's capabilities so You should advertise it to LSP servers..
|
||||||
|
Loading…
Reference in New Issue
Block a user