Thursday, October 10, 2019

highlight match fails

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/744a442a-11c9-4a0d-acc7-6a9fa9156802%40googlegroups.com.

No comments: