Hi, Ivan!
Does this problem occur with code environments or only with spec environments? At least Vim 7.4 does not mention spec in syntax/lhaskell.vim. I have patched this file such that it does all the things with spec that it does with code, and it works just fine. The patch is as follows:
78c78
< if search('\\documentclass\|\\begin{\(code}\)\@!\|\\\(sub\)*section\|\\chapter|\\part','W') != 0
---
> if search('\\documentclass\|\\begin{\(code}\)\@!\|\\begin{\(spec}\)\@!\|\\\(sub\)*section\|\\chapter|\\part','W') != 0
110a111
> syntax region lhsHaskellBeginEndBlock start="^\\begin{spec}\s*$" matchgroup=NONE end="\%(^\\end{spec}.*$\)\@=" contains=@haskellTop,beginCodeBegin containedin=@lhsTeXContainer
All the best,
Wolfgang
Am Sonntag, den 18.03.2018, 01:39 -0400 schrieb Ivan Perez:
Hi cafe,
The lhaskell edit mode for lhs2tex documents in vim gets confused when a dollar is used in code.
This also makes the spellchecker ignore text paragraphs (until a matching $ is found).
Where should this be reported?
This list is named as maintainer in the Ubuntu package vim-runtime's lhaskell.vim syntax file:
" Maintainer: Haskell Cafe mailinglist <
haskell-cafe@haskell.org>
" Original Author: Arthur van Leeuwen <
arthurvl@cs.uu.nl>
" Last Change: 2010 Apr 11
" Version: 1.04
Cheers
Ivan
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.