diff --git a/rc/filetype/php.kak b/rc/filetype/php.kak index 6ecd87280..9b43bb681 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 _ > >