These are chat archives for SirVer/ultisnips

23rd
Nov 2017
dustbyte
@maskedbyte
Nov 23 2017 06:00
Is it possible at all to un-indent in a snippet?
For a case statement I need it unindented

where | is the cursor

switch (...) {
    case|
}

after expanding tthe snippet, it should become this

switch (...) {
case |:

    break;
}
i need ultisnips to do it because vim's auto indenting wont cooperate with ultisnips (if i manually type case: it unindents, but the snippet doesn't unindent)