vim snipMate: expand snippet within a snippet -


using vim-snipmate have following problem: if try expand snippet within snippet, snipmate takes me next placeholder of current snippet instead of expanding new snippet.

e.g.: if press tab in following situation:

for (i = 0; < 10; i++) {     ifi<press tab here> } 

i expect:

for (i = 0; < 10; i++) {     if (<cursor position>) ; } 

but following:

for (i = 0; < 10; i++) {     ifi }<cursor position> 

is there way expand snippets within snippets or @ least way suppress going next placeholder?

best regards

the original snipmate did not support recursive snippet expansion. apparently, fork doesn't, neither. wouldn't hurt ask on project's issue tracker such support.

a modern alternative (that requires python though) ultisnips. far know, 1 support snippets within snippets.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -