Skip to content

Commit

Permalink
#73 prevent indentation after comment
Browse files Browse the repository at this point in the history
  • Loading branch information
raichoo committed Aug 5, 2016
1 parent 3683530 commit 7e85170
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions indent/haskell.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
" >>,
Expand Down

0 comments on commit 7e85170

Please sign in to comment.