emacs-prelude/vendor/yasnippet/snippets/c-mode/printf
2012-02-17 22:12:32 +02:00

7 lines
No EOL
195 B
Text

# -*- mode: snippet -*-
# name: printf
# contributor: joaotavora
# key: printf
# --
printf ("${1:%s}\\n"${1:$(if (string-match "%" text) "," "\);")
}$2${1:$(if (string-match "%" text) "\);" "")}