tags:

views:

399

answers:

2

I started playing with Haskell and I use Vim. I have autoindent on in my vimrc, but it seems to not be aware of haskell somehow. I would like to autoindent work in some cases where it doesn't (for example, after = and newline).

How can I customize autoindentation rules in vim? (I googled it, but every site suggested turning autoindent on, which I already had).

Thank you

+4  A: 

What did you search for? This page is the first result when you search "vim autoindent haskell" in google.

erelender
I searched for "autoindent vim haskell", and this one was not on the first page at all. You may get different results depending on how much google knows about your search habits. Thanks anyway.
Tamás Szelei
A: 

Try using the Haskell mode for Vim (google cache since the site seems to be down)

Don Stewart