Skip to content

Commit

Permalink
reduce indentation in case block correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
raichoo committed Mar 6, 2016
1 parent e815580 commit e8bf365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indent/haskell.vim
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ function! GetHaskellIndent()
" bar
" _ -> quux
if l:line =~ '^\s*\S\+\s\+->\s\+' && l:prevline !~ '^\s*\S\+\s\+->\s\+'
return match(l:prevline, '\S') - &shiftwidth
return match(l:prevline, '\S') - g:haskell_indent_case
endif

" indent closing brace, paren or bracket
Expand Down

0 comments on commit e8bf365

Please sign in to comment.