SirVer/ultisnips — pull request #37 by stephenmckinney (2012-11-24 05:47:59+00:00)
Title: Convert snipmate snippets fix

This PR fixes 3 issues I encountered when moving from Snipmate to UtilSnips:

1. When the source file name was the same as the target file name, then the result was an empty file.
* Now the script will overwrite the file.
2. If source file contained comments, then the conversion would break and repeat the previous snippet over and over until it hit a line with `snippet `
* Now the script properly ends the snippet when it finds a comment line
3. Comments were deleted
* Now the script preserves comments