Consider */ closing comment on PHP automatic indentation prefix
This commit is contained in:
parent
b0a9bf7108
commit
f246313951
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user