[TxMt] indentation problems with haskell bundle

Robin Houston robin.houston at gmail.com
Fri Jun 1 14:40:34 UTC 2007


On 6/1/07, Edwin Chen <edchen at mit.edu> wrote:
>
> Does anyone else have (a fix to) the following problem with the Haskell
> bundle:
> When making do statements, unless I do the brackets+semicolons thing to
> tell ghc to ignore formatting, I get a
> "The last statement in a 'do' construct must be an expression"
> even though I have everything lined up correctly.


Do you have the tab size set to 8 characters? I think the Haskell
layout mechanism assumes (in good Unix tradition) that tab stops
are 8 characters, but TextMate's default is 4.

If you change the tab size to 8, does everything still look correctly
lined up?

Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070601/87dffe57/attachment.html>


More information about the textmate mailing list