Hello cafe :-),
you're the maintainer of lhaskell.vim and I'm sending you a patch that fixes
the highlighting of curly brackets and anything between them.
(Who's supposed to send it to vim maintainer? Me, or cafe?)
Regards,
--
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
--- /usr/share/vim/vim72/syntax/lhaskell.vim 2010-01-14 06:40:28.000000000 +0100
+++ lhaskell.vim 2010-04-07 19:23:39.000000000 +0200
@@ -107,13 +107,12 @@
endif
syntax region lhsHaskellBirdTrack start="^>" end="\%(^[^>]\)\...@=" contai...@haskelltop,lhsBirdTrack contained...@lhstexcontainer
-syntax region lhsHaskellBeginEndBlock start="^\\begin{code}\s*$" matchgroup=NONE end="\%(^\\end{code}.*$\)\...@=" contai...@haskelltop,@beginCode contained...@lhstexcontainer
+syntax region lhsHaskellBeginEndBlock start="^\\begin{code}\s*$" matchgroup=NONE end="\%(^\\end{code}.*$\)\...@=" contai...@haskelltop,beginCodeBegin contained...@lhstexcontainer
syntax match lhsBirdTrack "^>" contained
syntax match beginCodeBegin "^\\begin" nextgroup=beginCodeCode contained
syntax region beginCodeCode matchgroup=texDelimiter start="{" end="}"
-syntax cluster beginCode contains=beginCodeBegin,beginCodeCode
" Define the default highlighting.
" For version 5.7 and earlier: only when not done already
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe