Skip to content
Discussion options

You must be logged in to vote

Hello @rohrsben,

It's a bit difficult to help without seeing your full config for blink and mini.snippets.

As you are using MiniSnippets.expand, I assume:

  1. You want mini.snippets to handle all snippets from the lsp, selected with blink
  2. You don't want blink to present all other snippets.

I do something similar when using blink, and there are some caveats indeed. See my config for blink and mini.snippets.

EDIT: Could you add the following to the options for mini.snippet?

-- ...
  expand = {
    select = function(snippets, insert)
        require("blink.cmp").cancel() -- cancel uses vim.schedule
        vim.schedule(function() MiniSnippets.default_select(snippets, insert) end)
    end,
  },
--

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@abeldekat
Comment options

@rohrsben
Comment options

@abeldekat
Comment options

@echasnovski
Comment options

@rohrsben
Comment options

Answer selected by rohrsben
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.snippets
3 participants