SirVer/ultisnips — pull request #20 by KholdStare (2012-07-01 23:53:04+00:00)
Title: Fixed c/cpp comment boxes

When using ultisnips in c and cpp file, I noticed comment boxes would come out wrong:

```cpp
* -* * * * * * * * * * * *
* content *
* * * * * * * * * * * * */
```

This was due to the comments option being:

sO:* -,mO:* ,exO:*/,s1:/*,mb:*,ex:*/,://

Looking at the vim documentation the 'O' flag means:

O Don't consider this comment for the "O" command.

I added some code to look out for that flag, so those 3-part comments are not used to make comment boxes, as well as making the parsing slightly more robust. Comments in c/cpp files now look correct:

```cpp
/*************
* content *
*************/
```

Thanks for making ultisnips, and please let me know if anything is wrong with my changes! :D