Closed Plypy closed 9 years ago
This seems to be a very basic function, shouldn' there be anyone else who has noticed that as well, or just me???
What you mean redundant? Seems this is a problem of yasnippet, not oh-my-emacs
You see there is one extra closing bracket inputted after the cursor, and lead to [yas] Snippet 1 exited.
.
I think that the closing bracket is generated by some others. But being a new Emacs user, I'm not sure.
I tried but this bug didn't reproduced on my ome, maybe you can turn off smartparens-mode
and try again.
It worked, thanks!
Also, I've searched the Smartparens repo, there are few same issues. So it is Smartparens to blame.
@Plypy consider closing this issue?
When I was trying to use the snippets in CPP, it will insert redundant closing braces for some snippets. Like
main
fori
, after the expansion, the result will go like belowThouth it works fine for
for
.