Monday, December 2, 2019

Re: hightlight syntax problem

On Mo, 02 Dez 2019, Ni Va wrote:

>  i tried this 
>
> syn match s7JumpsOperand    /^\s\+\zs\(SPA\|SPL\|SPBNB\|SPBN\|SPBB\|SPB\|SPBI\|
> SPBIN\|SLW\|SPO\|SPS\|SPZ\|SPN\|SPP\|SPM\|SPPZ\|SPMZ\|SPU\|LOOP\)\ze/ nextgroup
> =s7JumpLabel
> syn match s7JumpsLabel      /^\s\+\S\+\s\+\zs\([^;]\+\)\ze;/
>
>
> It does not highlight second group s7JumLabel because of same location ... how
> to avoid this ?

Remove the anchoring at the start of the line for Label group


Mit freundlichen Grüßen
Christian
--
Man verliert die meiste Zeit damit, daß man Zeit gewinnen will.
-- John Ernst Steinbeck

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20191202151538.GC28132%40256bit.org.

No comments: