-
Contributing guidelines
Module(s)mini.snippets QuestionI'm not sure whether this belongs here or under I'm trying to make blink and mini.snippets play nice with each other, which has been a bit of a journey. Here's my goal currently:
Here's what the keybinds look like in blink (I also set
The issue is that, as in the title, I get error
The (bigger??) issue is that I can't find a reproduction of this. I did a minimal Am I calling Editing to add some other simple things I tried:
Second edit to add the motivation: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hello @rohrsben, It's a bit difficult to help without seeing your full config for As you are using
I do something similar when using 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,
},
-- ...
|
Beta Was this translation helpful? Give feedback.
Hello @rohrsben,
It's a bit difficult to help without seeing your full config for
blink
andmini.snippets
.As you are using
MiniSnippets.expand
, I assume:mini.snippets
to handle all snippets from thelsp
, selected withblink
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?