Skip to content

Commit

Permalink
fix indentation of guard clauses in where blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
raichoo committed Mar 5, 2016
1 parent 27cbc4b commit e6937cb
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 @@ -94,7 +94,7 @@ function! s:indentGuard(pos, prevline)
" stop looking
else
let l:m = match(l:l, '\S')
if l:l !~ '^\s*[=,]' && l:m < a:pos
if l:l !~ '^\s*[=,]' && l:m <= a:pos
return l:m + g:haskell_indent_guard
endif
endif
Expand Down

0 comments on commit e6937cb

Please sign in to comment.