[Haskell-cafe] WANTED: grey line layout boxes in vim and emacs
John Meacham
john at repetae.net
Wed Dec 6 19:56:58 EST 2006
On Thu, Dec 07, 2006 at 11:34:42AM +1100, Donald Bruce Stewart wrote:
> I'd like some more help from the editors in getting 2d layout right
> without trying. Here's a mockup of vim with vertical grey bars
> delimiting layout:
>
> http://www.cse.unsw.edu.au/~dons/tmp/haskell+boxes.png
>
> Does anyone know how to get this effect in vim (or emacs)?
>
> Bonus points if the grey bars are draggable, changing the indenting.
> More bonus points for box-based navigation.
Having played with haskell parsers for various reasons, the layout rule
is quite tricky due to the rules involving 'parse-error'. if we could
come up with a formulation that didn't have those. it would make things
a whole lot nicer. something like an unexpected 'in', 'of', ')' '}'
']' might do it. the lexer would have to keep track of matching
brackets.. hmmm..
John
--
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell-Cafe
mailing list