Okay, I'm a little confused as to how that would work.  The goal of those
lines is to make sure that if we see something like p=|=(...), then we
don't highlight the tisbar when we should highlight the bartis.  I agree
that this feels a little hackish, but I'm not sure how to do that with
nextgroup (again, I'm not terribly familiar with vimscript).  Suggestions
would be welcome.

Philip Monk


On Mon, Sep 30, 2013 at 7:27 PM, Eric Fode <notifications@github.com> wrote:

> In syntax/hoon.vim:
>
> > @@ -134,15 +136,15 @@ syn match       hoonRune          ";;"
> >  syn match       hoonRune          ";\*"
> >  syn match       hoonRune          ";="
> >  syn match       hoonRune          ";?"
> > -syn match       hoonRune          "=|"
> > -syn match       hoonRune          "=\."
> > -syn match       hoonRune          "=\^"
> > -syn match       hoonRune          "=:"
> > +syn match       hoonRune          "=|\ze[^-|_%:.^+\=?]"
> > +syn match       hoonRune          "=\.\ze[^+*=?^]"
> > +syn match       hoonRune          "=\^\ze[^-+|.&~=?]"
> > +syn match       hoonRune          "=:\ze[^-_~/^+~*]"
>
> These four lines could be simplified by using nextgroup
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/ericfode/hoon.vim/pull/3/files#r6677072>
> .
>