1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-02 23:21:15 +03:00

Merge remote-tracking branch 'exitium/master'

This commit is contained in:
Maxime Coste 2017-09-24 20:16:34 +09:00
commit f4596d509f

View File

@ -80,7 +80,7 @@ def -hidden lua-indent-on-new-line %{
def -hidden lua-insert-on-new-line %{
eval -no-hooks -draft -itersel %{
# copy -- comment prefix and following white spaces
try %{ exec -draft k<a-x>s^\h*\K--\h*<ret>yjp }
try %{ exec -draft k<a-x>s^\h*\K--\h*<ret>yghjP }
# wisely add end structure
eval -save-regs x %{
try %{ exec -draft k<a-x>s^\h+<ret>"xy } catch %{ reg x '' }