diff --git a/rc/filetype/cabal.kak b/rc/filetype/cabal.kak index d721b1c6..2557ba00 100644 --- a/rc/filetype/cabal.kak +++ b/rc/filetype/cabal.kak @@ -61,7 +61,7 @@ define-command -hidden cabal-indent-on-new-line %[ # indent after lines ending with { or : try %[ execute-keys -draft k [:{]$ j ] # deindent closing brace when after cursor - try %[ execute-keys -draft \h*\}\h*(?:--.*)?$ \; \} m 1 ] + try %[ execute-keys -draft \h*\} / \} m 1 ] ] ]