How can I add to cmp sources? #1927
-
Is there a way to add to LunarvVm's list of cmp sources, without overriding what is already there? Say I want to add this. require'cmp'.setup({
sources = {
{ name = 'orgmode' }
}
}) This seems to override all the previous sources, I just want to add to what is already there. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
aaronclimbs
Nov 12, 2021
Replies: 1 comment 1 reply
-
I'm pretty sure the correct syntax here would be table.insert(lvim.builtin.cmp.sources, { name = "orgmode" }) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
abzcoding
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm pretty sure the correct syntax here would be