[mercury-users] MMC Errorformat for Vim?

Ralph Becket rafe at cs.mu.OZ.AU
Fri Dec 7 11:37:46 AEDT 2001


Ondrej Bojar, Thursday,  6 December 2001:
> Hi.
> 
> I use Vim to edit Mercury sources. Doesn't anyone know how to set the
> errorformat variable in Vim to treat Mercury's multiline error messages
> properly? (Vim surely supports that but I find it quite tricky to set it
> correctly.

I spent an hour or two looking at this before giving up (which is not to
say that a sensible, low-effort solution is possible).

I just open a second Vim window for the .err file and switch between
them.

The local custom here, though, is to use the `error' program to splice
the .err messages directly with your source code.

- Ralph
--------------------------------------------------------------------------
mercury-users mailing list
post:  mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the users mailing list