Indents shoud be tab - UltiSnips is smart about them when inserting the snippet. Not sure if this are tabs or spaces.