summaryrefslogtreecommitdiff
path: root/rc/filetype/php.kak
diff options
context:
space:
mode:
authorJohn Isom <John.Isom2001@gmail.com>2020-07-29 09:40:58 -0600
committerJohn Isom <John.Isom2001@gmail.com>2020-07-29 09:40:58 -0600
commit9d4e33c775c160d7965a7aab89a2bc043c2a5b72 (patch)
tree1c20aae7a6aa5c32360fbf40953f70dde4ccf943 /rc/filetype/php.kak
parentbad751197a62bbef8cd2bd286adfbf40a8c2f4a8 (diff)
Clean up my previous updates
Diffstat (limited to 'rc/filetype/php.kak')
-rw-r--r--rc/filetype/php.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/php.kak b/rc/filetype/php.kak
index 075b0eb8..770a4b60 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 <a-x> s ^\h*/[*][* ]? <ret> j gi i <space>*<space> }
# deindent closer token(s) when after cursor
- try %_ execute-keys -draft <a-x> <a-k>^\h*[})]+\h*(?://.*)?$<ret> \; <a-/> [})] <ret> m <a-S> 1<a-&> _
+ try %_ execute-keys -draft <a-x> <a-k> ^\h*[})] <ret> gh / [})] <ret> m <a-S> 1<a-&> _
>
>