cmp_luasnip icon indicating copy to clipboard operation
cmp_luasnip copied to clipboard

Respect `trigEngine`.

Open L3MON4D3 opened this issue 2 years ago • 1 comments

Hi! There were some additions to luasnip, some time ago actually, where lua-pattern-triggers may now be defined via trigEngine. I think it would make sense to handle snippets where it is set to "pattern" like those where regTrig is set, the other predefined ones could (with lots of effort) be handled similarly, but I don't think that's really worth it. For this to work, luasnip needs some so cmp_luasnip can tell whether a snippet has a lua-pattern as its trigger (because trigEngine is just some function, and I don't think it should be exposed) I can implement this, but pretty busy right now, so will take some time.

L3MON4D3 avatar Aug 04 '23 22:08 L3MON4D3

Hiya - I'll have a look over the weekend :)

saadparwaiz1 avatar Aug 05 '23 04:08 saadparwaiz1