You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I type something like case ...: inside a switch then it will unindent it so it looks like (correct)
switch (...) {
case ...:
}
instead of
switch (...) {
case ...:
}
But if I make a snippet that writes case ...:, it does not unindent to the correct level, so it looks like the second example, when I want it to look like the first. So is there a way, anyway at all, that I can unindent in a snippet?
The text was updated successfully, but these errors were encountered:
@metasprite Sorry for the delayed response! Just to clarify, you mean that when you're inside a switch and type case ...: Vim will automatically unindent, right? While if you use a snippet to expand just case ...: Vim won't do that. This is what you're referring to, right? Unfortunately SnipMate doesn't offer a solution for this at the moment. There's a feature I've been meaning to implement for a long time now that can help with this, but unfortunately I haven't gotten there yet.
When I type something like
case ...:
inside aswitch
then it will unindent it so it looks like (correct)instead of
But if I make a snippet that writes
case ...:
, it does not unindent to the correct level, so it looks like the second example, when I want it to look like the first. So is there a way, anyway at all, that I can unindent in a snippet?The text was updated successfully, but these errors were encountered: