From 287e52fb2a05c0b08d8fe24b1d35a3d542b84c41 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 14 Mar 2018 17:39:31 +0000 Subject: [PATCH] Add bool to C string snippet --- UltiSnips/c.snippets | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UltiSnips/c.snippets b/UltiSnips/c.snippets index 465a79a..af37821 100644 --- a/UltiSnips/c.snippets +++ b/UltiSnips/c.snippets @@ -173,3 +173,7 @@ endsnippet snippet debug "Debug fprintf" fprintf(stderr, "%s: %d: %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__); endsnippet + +snippet bs "bool string" +${1:value} ? "true" : "false" +endsnippet