From 70e68e3064a46583cfda7ab666cb5878636088e9 Mon Sep 17 00:00:00 2001 From: John Isom Date: Tue, 28 Jul 2020 16:07:03 -0600 Subject: [PATCH] Update deindenting in php.kak --- rc/filetype/php.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/php.kak b/rc/filetype/php.kak index 6ecd8728..9b43bb68 100644 --- a/rc/filetype/php.kak +++ b/rc/filetype/php.kak @@ -94,7 +94,7 @@ define-command -hidden php-indent-on-new-line %< # append " * " on lines starting a multiline /** or /* comment try %{ execute-keys -draft k s ^\h*/[*][* ]? j gi i * } # deindent closer token(s) when after cursor - try %_ execute-keys -draft ^\h*[})]+\h*$ hm 1 _ + try %_ execute-keys -draft ^\h*[})]+\h*(?://.*)?$ [})] m 1 _ > >