Consider */ closing comment on PHP automatic indentation prefix

This commit is contained in:
Felix Freeman 2019-06-10 12:12:06 -04:00
parent b0a9bf7108
commit f246313951

View File

@ -84,7 +84,7 @@ define-command -hidden php-indent-on-char %<
define-command -hidden php-indent-on-new-line %<
evaluate-commands -draft -itersel %<
# copy // comments or docblock * prefix and following white spaces
try %{ execute-keys -draft k <a-x> s ^\h*\K(?://|[*])\h* <ret> y gh j P }
try %{ execute-keys -draft s [^/] <ret> k <a-x> s ^\h*\K(?://|[*][^/])\h* <ret> y gh j P }
# preserve previous line indent
try %{ execute-keys -draft \; K <a-&> }
# filter previous line