Snippet tweaking

This commit is contained in:
capitaomorte
2010-02-01 10:36:42 +00:00
parent 9f8fab6bc6
commit b589d4434a
5 changed files with 37 additions and 6 deletions

View File

@@ -3,4 +3,4 @@
# name: printf (...)
# --
printf ("${1:%s}\\n"${1:$(if (string-match "%[^%]" text) "," "\);")
}$2${1:$(if (string-match "%" text) "\);" "")}
}$2${1:$(if (string-match "%" text) "\);" "")}