[Haskell-cafe] lhaskell.vim syntax highlighting script
Andrew Pimlott
andrew at pimlott.net
Thu Jul 29 20:45:02 EDT 2004
haskell-cafe, you are listed as the maintainer of the vim haskell syntax
highlighting script. :-)
lhaskell.vim uses the tex.vim syntax script, which does "set
iskeyword-=_". This makes editing haskell rather uncomfortable (eg, the
'*' command doesn't work right). I don't know what breaks if you "set
iskeyword+=_", but getting tex highlighting right is less important than
haskell editing, so I suggest this patch.
Andrew
--- lhaskell.vim.orig 2004-07-29 16:48:39.000000000 -0700
+++ lhaskell.vim 2004-07-29 16:50:16.000000000 -0700
@@ -86,6 +86,8 @@
runtime! syntax/tex.vim
unlet b:current_syntax
endif
+ " This messes up tex a bit, but is better for Haskell.
+ set isk+=_
endif
" Literate Haskell is Haskell in between text, so at least read Haskell
More information about the Haskell-Cafe
mailing list