diff --git a/rc/filetype/cabal.kak b/rc/filetype/cabal.kak index a5c043e9..8f7a6975 100644 --- a/rc/filetype/cabal.kak +++ b/rc/filetype/cabal.kak @@ -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 s ^\h*\K#\h* y gh j P ] + # copy '--' comment prefix and following white spaces + try %[ execute-keys -draft k s ^\h*\K--\h* y gh j P ] # preserve previous line indent try %[ execute-keys -draft K ] # filter previous line