Fixed a backslash in printf and fprintf snippets
This commit is contained in:
parent
242d9f8664
commit
a76165c147
@ -70,7 +70,7 @@ do {
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet fprintf "fprintf …"
|
snippet fprintf "fprintf …"
|
||||||
fprintf(${1:stderr}, "${2:%s}\\n"${2/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$3${2/([^%]|%%)*(%.)?.*/(?2:\);)/}
|
fprintf(${1:stderr}, "${2:%s}\n"${2/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$3${2/([^%]|%%)*(%.)?.*/(?2:\);)/}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet if "if .. (if)"
|
snippet if "if .. (if)"
|
||||||
@ -81,7 +81,7 @@ if(${1:/* condition */})
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet printf "printf .. (printf)"
|
snippet printf "printf .. (printf)"
|
||||||
printf("${1:%s}\\n"${1/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$2${1/([^%]|%%)*(%.)?.*/(?2:\);)/}
|
printf("${1:%s}\n"${1/([^%]|%%)*(%.)?.*/(?2:, :\);)/}$2${1/([^%]|%%)*(%.)?.*/(?2:\);)/}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet st "struct"
|
snippet st "struct"
|
||||||
|
Loading…
Reference in New Issue
Block a user