dotfiles/vim/.vim/UltiSnips/c.snippets
2023-11-02 10:11:39 +01:00

9 lines
215 B
Plaintext

snippet pline "print a line" i
printf("----------------------------------------\n");
endsnippet
snippet dpvi "Define printvi for printing variable int" b
#define printvi(X) printf("%s = %d\n", #X, X);
endsnippet