diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index e78d211..3ab55a9 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -157,3 +157,7 @@ int main(${1:int argc, char **argv}) { $0 } endsnippet + +snippet debug "Debug fprintf" +fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__); +endsnippet