[Haskell-cafe] lhs syntax highlighting in vim

Eric Stansifer stansife at caltech.edu
Tue Jun 10 20:23:58 EDT 2008


The syntax highlighting file for literate haskell in vim says that its
maintainer is haskell-cafe at haskell.org, so hopefully one of you will
find this relevant.

In literate haskell files, vim optionally highlights the non-code text
according to TeX markup.  The syntax highlighting file looks for key
phrases (e.g., "\documentclass") to decide whether to use TeX markup
highlighting;  but it (erroneously, in my opinion, and at variance
with the documentation) will use TeX markup highlighting on any lhs
file that contains the '%' character anywhere in it.  The bug is in
line 74 of version 1.01 of the lhaskell.vim syntax highlighting file.


More information about the Haskell-Cafe mailing list