ncm2 / ncm2-ultisnips

44 stars 3 forks source link

How does parameter expansion work? #20

Closed rennis250 closed 4 years ago

rennis250 commented 4 years ago

Hey there,

many thanks for this great completion framework!

I have it set up with neovim (v0.3.8) and latest ncm2, ultisnips, nvim-yarp, and ncm2-ultisnips. When I use the suggested configuration (with the commented line from the README.md), I get snippet completion, but when I hit Tab or Enter again, the cursor does not move to the next part of the snippet. Uncommenting said line makes no difference.

I will test a minimal .vimrc now, but any initial ideas?

Best wishes, Rob

rennis250 commented 4 years ago

I at least figured out how it works WITHOUT ncm2-snippets running:

You have to push the jump forward and backward triggers, which are UltiSnips shortcuts. I didn't have much sleep last night and missed that, which is obvious.

Sorry for the noise and thanks!