On Sat, 5 May 2012, Dotan Cohen wrote:

On Fri, May 4, 2012 at 8:40 PM, sc <tooth...@swbell.net> wrote:
<rapacious snip>

in your original post you said

I am trying to get the "=+" operator highlighted as an error in PHP

is it possible you have similarly fat-fingered the operator in your script?


Nice catch! I just double checked, no fat fingers in either of the two scripts that I am trying on the assumption that there may be a problem in the script:

Version 1:
scriptencoding utf-8
setlocal nolist
syn match phpPlusEq '+='

It worked for me after changing that line to:

syn match phpPlusEq '+=' containedin=phpOperator

hi link phpPlusEq       Error

--
Best,
Ben

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to