diff --git a/rc/filetype/hare.kak b/rc/filetype/hare.kak index 9b97532e..4b9b299c 100644 --- a/rc/filetype/hare.kak +++ b/rc/filetype/hare.kak @@ -98,8 +98,8 @@ provide-module hare %ยง try %[ execute-keys -draft k [{(]\h*$ j i ] # cleanup trailing white spaces on the previous line execute-keys -draft k :hare-trim-indent - # indent after a switch's case/default statements - try %[ execute-keys -draft k ^\h*(case|default).*:$ j ] + # indent after match/switch's case statements + try %[ execute-keys -draft k case\h.*=>\h*$ j ] # deindent closing brace(s) when after cursor try %[ execute-keys -draft ^\h*[})] gh / [})] m 1 ] } }