From d836fe7d6624ea978080a7490c0a60bdbf9cbd15 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 5 Aug 2016 09:05:30 +0100 Subject: [PATCH] c-indent: fix align to opening paren touching too much text --- rc/core/c-family.kak | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rc/core/c-family.kak b/rc/core/c-family.kak index 5d3a384bd..1ac3dddcb 100644 --- a/rc/core/c-family.kak +++ b/rc/core/c-family.kak @@ -53,11 +53,7 @@ def -hidden _c-family-indent-on-newline %[ eval -draft -itersel %[ ## indent after a statement not followed by an opening brace try %[ exec -draft k \b(if|else|for|while)\h*\(.+?\)\h*$ j ] ## align to the opening parenthesis when inserting a newline - try %[ eval -draft %[ - exec {b L - try %[ exec -draft s^\h+ d ] - exec & - ] ] + try %[ exec -draft {b \`\( L s\`|.\' & ] ] ] def -hidden _c-family-indent-on-opening-curly-brace %[