[Haskell] vim syntax files for GHC-style .lhs, .hs + cpp

Ian Lynagh igloo at earth.li
Mon Feb 9 16:20:59 EST 2004


On Mon, Feb 09, 2004 at 12:56:43PM +1100, Donald Bruce Stewart wrote:
> Hey all,
> 
>      -------------------------------------------------------------
>         Vim syntax highlighting for GHC-style .lhs and .hs + cpp
>      -------------------------------------------------------------
> 
> Rather than let this just sit on my hd, I'm making them available.
> 
>         ftp://ftp.cse.unsw.edu.au/pub/users/dons/vim/
> 
> These are vim syntax files for the tex-style (not the bird-feet style)
> literate Haskell used in much of GHC, and for normal Haskell with -cpp
> preprocessor sprinkles. The directories should go in your ~/.vim/
> folder.

I've put mine here: http://urchin.cipe/~ian/vim/

They also use a simple heuristic to guess whether the non-Haskell stuff
should be treated as TeX or just text, and cope with the Bird style. We
really should send a best solution off to the vim guys to replace what's
currently there.


Thanks
Ian



More information about the Haskell mailing list