From 902724e5586a993bf21232fcecf9d1561207a78c Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Mon, 18 Sep 2017 09:41:26 +0900 Subject: [PATCH] c-family: auto close unions with a semicolon as well --- rc/core/c-family.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index d640c64e..54b46a66 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -71,7 +71,7 @@ def -hidden c-family-indent-on-closing-curly-brace %[ def -hidden c-family-insert-on-closing-curly-brace %[ # add a semicolon after a closing brace if part of a class, union or struct definition - try %[ exec -itersel -draft hmB\`\h*(class|struct|union) a\; ] + try %[ exec -itersel -draft hmB\`\h*(class|struct|union|enum) a\; ] ] def -hidden c-family-insert-on-newline %[ eval -draft %[