Using vim-snipmate I have the following problem: If I try to expand a snippet within a snippet, snipmate takes me to the next placeholder of the current snippet instead of expanding the new snippet.
e.g.:
If you press tab
in the following situation:
for (i = 0; i < 10; i++) {
ifi<press tab here>
}
I would expect:
for (i = 0; i < 10; i++) {
if (<cursor position>) ;
}
but what I get is the following:
for (i = 0; i < 10; i++) {
ifi
}<cursor position>
Is there a way to expand snippets within snippets or at least a way to suppress going to the next placeholder?
best regards