dotfiles/vim/.vim/UltiSnips/c.snippets

9 lines
215 B
Plaintext
Raw Permalink Normal View History

snippet pline "print a line" i
printf("----------------------------------------\n");
endsnippet
2023-11-02 10:11:39 +01:00
snippet dpvi "Define printvi for printing variable int" b
#define printvi(X) printf("%s = %d\n", #X, X);
endsnippet