Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aizhiqi opened this issue Nov 23, 2022 · 0 comments

Comments

@aizhiqi
Copy link

aizhiqi commented Nov 23, 2022

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant