From e6937cb8fbb95c14e9d841d52d1d95e6dbfec544 Mon Sep 17 00:00:00 2001 From: raichoo Date: Sat, 5 Mar 2016 22:26:04 +0100 Subject: [PATCH] fix indentation of guard clauses in where blocks --- indent/haskell.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indent/haskell.vim b/indent/haskell.vim index 12b7759..f092d4b 100644 --- a/indent/haskell.vim +++ b/indent/haskell.vim @@ -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