Skip to content

Is there a way of getting snippet completion with the native vim completion? #615

Answered by L3MON4D3
Supreeeme asked this question in Q&A
Discussion options

You must be logged in to vote

We don't yet support omnifunc, sorry :/

If you want to implement it though, you can extract relevant code (get list of snippets, expand chosen snippet) from cmp_luasnip.
I can't give any advice on writing a new source for omnifunc, but I'm certain that there is a source for ultisnips/vim-vsnip/snipmate out there, which might be adaptable.
(If you end up implementing it, definitely add it to the wiki, or the readme :D)

Replies: 1 comment 1 reply

Comment options

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

Answer selected by Supreeeme
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