Joao Tavora 6ce6b24f52 fix: replace 'text' in 'yas-text' in bundled snippets
The previous commit broke these snippets by enabling
2013-08-30 17:13:02 +01:00

7 lines
202 B
Plaintext

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