Skip to content

Commit 3683530

Browse files
committedJul 28, 2016
simplify comment indentation
1 parent a057ceb commit 3683530

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎indent/haskell.vim

+1-4
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,7 @@ function! GetHaskellIndent()
134134

135135
" comment indentation
136136
if l:line =~ '^\s*--'
137-
let l:s = match(l:prevline, '-- ')
138-
if l:s > 0
139-
return l:s
140-
endif
137+
return match(l:prevline, '-- ')
141138
endif
142139

143140
" { foo :: Int

0 commit comments

Comments
 (0)
Please sign in to comment.