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 %[