Thursday, October 10, 2019

Re: highlight match fails

Was overloaded by this one :

" syn match s7JumpStatement   /^\(L*\d\+:\)*\s\+\zs\(SPA\|SPL\|SPBNB\|SPBN\|SPBB\|SPB\|SPBI\|SPBIN\|SLW\|SPO\|SPS\|SPZ\|SPN\|SPP\|SPM\|SPPZ\|SPMZ\|SPU\|LOOP\)\(\w\)\@!/


Le jeudi 10 octobre 2019 15:57:44 UTC+2, Ni Va a écrit :
Hi,

I would like to recognize that label near SPBN.
      SPBN  _003;

syn match s7JumpToLabel     /^\s\+\(SPBN\|SPB\|SPA\)\s\+\zs\w\+/     ===> seems to highlight on normal search.

but syntax highlight does not success :

        syn match s7JumpToLabel     /^\s\+\(SPBN\|SPB\|SPA\)\s\+\zs\w\+/ 
highlight ColorLabel   ctermfg=88  guifg=#990000 guibg=#ffd4d4 gui=bold      cterm=bold
        hi def link  s7JumpToLabel         Function 

Thank you

--
--
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/9b99c0ae-3aaa-4440-a7bf-76cc3e52985b%40googlegroups.com.

No comments:

Post a Comment