diff options
| author | Maxime Coste <mawww@kakoune.org> | 2021-09-04 09:25:10 +1000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2021-09-04 09:25:10 +1000 |
| commit | 4eea05a0ea44dc6546b88b3fc240e70155810574 (patch) | |
| tree | 5d5903a3155efb6e5b62e0af4b6671edb0c8cb61 | |
| parent | 827bb2f1f5b5e7ab3830bfe69b64d62b4e63dcc9 (diff) | |
| parent | b739ca4ca6ef8ab4edebb40884c36fe2fd3704ec (diff) | |
Merge branch 'master' of http://github.com/mujo-hash/kakoune
| -rw-r--r-- | rc/filetype/php.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/php.kak b/rc/filetype/php.kak index be03de9e..97bdbfe3 100644 --- a/rc/filetype/php.kak +++ b/rc/filetype/php.kak @@ -85,7 +85,7 @@ define-command -hidden php-indent-on-char %< define-command -hidden php-insert-on-new-line %< evaluate-commands -draft -itersel %< # copy // comments or docblock * prefix and following white spaces - try %{ execute-keys -draft s [^/] <ret> 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 } # append " * " on lines starting a multiline /** or /* comment try %{ execute-keys -draft k <a-x> s ^\h*/[*][* ]? <ret> j gi i <space>*<space> } > |
