From 623743e794a03c76c515e5ad75d7cf16a67b034b Mon Sep 17 00:00:00 2001 From: John Isom Date: Tue, 28 Jul 2020 20:51:19 -0600 Subject: [PATCH] Update deindenting in perl.kak --- rc/filetype/perl.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/perl.kak b/rc/filetype/perl.kak index aacab43f..8ca94c1f 100644 --- a/rc/filetype/perl.kak +++ b/rc/filetype/perl.kak @@ -118,7 +118,7 @@ define-command -hidden perl-indent-on-new-line %~ # indent after if|else|while|for try %[ execute-keys -draft )MB \A(if|else|while|for)\h*\(.*\)\h*\n\h*\n?\z s \A|.\z 11 ] # deindent closing brace(s) when after cursor - try %[ execute-keys -draft ^\h*[})]+\h*(?://.*)?$ [})] m 1 ] + try %[ execute-keys -draft ^\h*[})]+\h*(?:#.*)?$ \; [})] m 1 ] = ~