diff --git a/indent/haskell.vim b/indent/haskell.vim index 18335a5..38fdf1c 100644 --- a/indent/haskell.vim +++ b/indent/haskell.vim @@ -136,6 +136,9 @@ function! GetHaskellIndent() if l:line =~ '^\s*--' return match(l:prevline, '-- ') endif + if l:prevline =~ '^\s*--' + return match(l:prevline, '\S') + endif " { foo :: Int " >>,