ultisnips icon indicating copy to clipboard operation
ultisnips copied to clipboard

when snip list appear, the first snip is auto selected. if I input "enter", the first snip is not being expanded

Open aizhiqi opened this issue 1 year ago • 0 comments

Expected behavior: let g:UltiSnipsExpandTrigger = "< cr >"

when snip list appear, no snip is been selected.

Actual behavior: let g:UltiSnipsExpandTrigger = "< cr >"

when snip list appear, the first snip is auto selected. but if I input "enter", the first snip is not being expanded

Steps to reproduce 1.insert follow line to config: let g:UltiSnipsExpandTrigger = " < cr > "

2.vim test.py

3.input:"de"

4.vim auto triger snip list and the first line is seleced

5.input "enter", but the first snip is not being expanded


  • Operating System:
  • Vim Version:
  • UltiSnips Version:
  • Python inside Vim:
  • Docker repo/vimrc:

aizhiqi avatar Nov 23 '22 11:11 aizhiqi