commit dbdcac6df28f3355a590a4483ccf47defbaaca45
parent 6c070abe9d47b4856b6d864fd92f74f7c880d46f
Author: Sebastian <sebastian@sebsite.pw>
Date: Fri, 13 May 2022 18:18:05 -0400
Fix indent of `case let` label when reindenting
Thanks Sebastian LaVine for reporting this. This ensures that `case let`
labels indent correctly when using == in normal mode, or C-f in insert
mode.
Signed-off-by: Sebastian <sebastian@sebsite.pw>
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/indent/hare.vim b/indent/hare.vim
@@ -13,7 +13,6 @@ endif
setlocal cindent
" L0 -> don't deindent labels
-" :0 -> don't indent cases
" (s -> use one indent after a trailing (
" m1 -> if ) starts a line, indent it the same as its matching (
" ks -> add an extra indent to extra lines in an if expression or for expression
@@ -21,7 +20,7 @@ setlocal cindent
" J1 -> see j1
" *0 -> don't search for unclosed block comments
" #1 -> don't deindent lines that begin with #
-setlocal cinoptions=L0,:0,(s,m1,ks,j1,J1,*0,#1
+setlocal cinoptions=L0,(s,m1,ks,j1,J1,*0,#1
" Controls which keys reindent the current line.
" 0{ -> { at beginning of line