fix indentation of leading arrows

This commit is contained in:
raichoo 2014-08-24 21:30:42 +02:00
parent cd04d96da9
commit 911535fc7e

View file

@ -102,7 +102,7 @@ function! GethaskellIndent()
endif endif
endif endif
if l:line =~ '^\s*[=->]' if l:line =~ '^\s*[=-]>'
let l:s = match(l:prevline, ' :: ') let l:s = match(l:prevline, ' :: ')
if l:s >= 0 if l:s >= 0
return l:s + 1 return l:s + 1