mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 07:53:41 +03:00
Fix already-existing error in cabal.kak
This commit is contained in:
parent
ec48e07b2a
commit
f3f477aa04
@ -52,8 +52,8 @@ define-command -hidden cabal-trim-indent %{
|
||||
|
||||
define-command -hidden cabal-indent-on-new-line %[
|
||||
evaluate-commands -draft -itersel %[
|
||||
# copy '#' comment prefix and following white spaces
|
||||
try %[ execute-keys -draft k <a-x> s ^\h*\K#\h* <ret> y gh j P ]
|
||||
# copy '--' comment prefix and following white spaces
|
||||
try %[ execute-keys -draft k <a-x> s ^\h*\K--\h* <ret> y gh j P ]
|
||||
# preserve previous line indent
|
||||
try %[ execute-keys -draft <semicolon> K <a-&> ]
|
||||
# filter previous line
|
||||
|
Loading…
Reference in New Issue
Block a user