vim syntax highlighting file for TeX and Haskell in the same file

Ian Lynagh igloo@earth.li
Fri, 25 Jan 2002 02:15:39 +0000


Hi all

I have written a vim syntax highlighting file which, given a literate
script with TeX markup surrounding the Haskell code, will highlight both
the TeX and Haskell.

lhaskell.vim is at

    http://c93.keble.ox.ac.uk/~ian/haskell-vim/lhaskell.vim

along with haskell.vim and tex.vim, but you should not need these as
they should come with vim. lhaskell.vim should go in ~/.vim/syntax/ or
somewhere else in your runtimepath (type ":set runtimepath" in vim to
see it)

A demo of what it should look like is at

    http://c93.keble.ox.ac.uk/~ian/haskell-vim/Demo.png

I'm not sure how well it will work (if at all) in versions of vim prior
to 6.0.


Enjoy!

Ian