Add bool to C string snippet

This commit is contained in:
Kenneth Benzie 2018-03-14 17:39:31 +00:00
parent 9a121baa34
commit c458adb0f2

View File

@ -161,3 +161,7 @@ endsnippet
snippet debug "Debug fprintf" snippet debug "Debug fprintf"
fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__); fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__);
endsnippet endsnippet
snippet bs "bool string"
${1:value} ? "true" : "false"
endsnippet