honza/snipmate-snippets — pull request #145 by jackStalnaker (2012-10-18 21:54:49+00:00)
Title: added switch, switch with no default, and case snippets to c snippets

I added support for switch to the c.snippets file. Three snippets were created:
1. switch: creates a switch structure with one case terminated by a break and a default case
2. switchndef: creates switch structure with one case, no default case
3. case: creates a new case. Useful for adding cases to an existing switch

In all cases, "break;" is one of the tab locations, allowing you to easily delete it if you want a fall-through switch statement.