syn match

3 views
Skip to first unread message

Rui Gonçalves

unread,
Jul 20, 2007, 6:07:20 AM7/20/07
to Vim mailing list
What expression should I use to match "mutex(all)"

I tried
syn match Statement "\<mutex(all)\>"
but doesn't work :(

Regards,
Rui Gonçalves

Tony Mechelynck

unread,
Jul 20, 2007, 8:23:06 AM7/20/07
to vim...@googlegroups.com, Vim mailing list

I think that Vim doesn't see ) as a "word" character, which means that )\>
cannot match anywhere. Try without the \>


Best regards,
Tony.
--
Q: How does a UNIX Guru pick up a girl?
A: look; grep; which; eval; nice; uname; talk; date;

Rui Gonçalves

unread,
Jul 20, 2007, 1:34:04 PM7/20/07
to vim...@googlegroups.com, Vim mailing list
I tried "mutex(all)" and still doesn't work...
Reply all
Reply to author
Forward
0 new messages