Skip to content

Commit 0a5c13a

Browse files
committed
streamline let indentation
1 parent a139d7a commit 0a5c13a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

indent/haskell.vim

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,6 @@ function! GetHaskellIndent()
213213
" let y = 2
214214
"
215215
" let x = 1
216-
" >in x
217-
"
218-
" let x = 1
219216
" >>>>y = 2
220217
"
221218
" let x = 1
@@ -226,21 +223,11 @@ function! GetHaskellIndent()
226223
if s:isSYN('haskellLet', v:lnum - 1, l:s + 1)
227224
return l:s
228225
endif
229-
elseif l:line =~ '\C^\s*\<in\>'
230-
let l:s = match(l:prevline, '\C\<let\>')
231-
if s:isSYN('haskellLet', v:lnum - 1, l:s + 1)
232-
return l:s + g:haskell_indent_in
233-
endif
234226
elseif l:line =~ '\s=\s'
235227
let l:s = match(l:prevline, '\C\<let\>')
236228
if s:isSYN('haskellLet', v:lnum - 1, l:s + 1)
237229
return l:s + g:haskell_indent_let
238230
endif
239-
else
240-
let l:s = match(l:prevline, '\C\<let\>')
241-
if s:isSYN('haskellLet', v:lnum - 1, l:s + 1)
242-
return l:s + g:haskell_indent_let_no_in
243-
endif
244231
endif
245232
endif
246233

0 commit comments

Comments
 (0)