From f3f477aa044665954201a5721aa5e5ce75768c10 Mon Sep 17 00:00:00 2001 From: John Isom Date: Tue, 28 Jul 2020 16:01:11 -0600 Subject: [PATCH] Fix already-existing error in cabal.kak --- rc/filetype/cabal.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/filetype/cabal.kak b/rc/filetype/cabal.kak index a5c043e98..8f7a69757 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