Skip to content
Discussion options

You must be logged in to vote

The mappings = { expand = "", jump_next = "", jump_prev = "" } is indeed the correct way to have 'mini.snippets' not automatically create its mappings (including default <C-j> for to expand mappings).

It looks like the opts function for 'mini.snippets' config returns incorrect data: it returns { { ..., mappings = {} } } (i.e. array with single config element) when it should return config table directly. Remove extra { / } nesting and it should work.

And if you want <C-j> to have 'mini.completion' force its completion, set force_twostep = "<C-j>".

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AceCodePt
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested mini.completion mini.snippets
2 participants