Hi Charles and Thilo, "containedin" works perfectly for me. I use "syn keyword myTodo Edward containedin=ALL" . No matter what the type of the file is, it can highlight my own keyword anywhere. Thank you very much.
2012/3/21 Thilo Six <[email protected]> > Hello Charles and Edward, > > It seems my mail send earlier did not make it through. Lets try again. > > Excerpt from Charles Campbell: > > -- <snip> -- > > Try "containedin" instead. > > > > ie. *syn keyword myTodo Edward > > containedin=cCommentGroup,makeComment,perlComment > > May i point out 'containedin=ALL' and 'contains=ALLBUT' as well. > > :h :syn-contains > > -- <snip> -- > > -- > Regards, > Thilo > > 4096R/0xC70B1A8F > 721B 1BA0 095C 1ABA 3FC6 7C18 89A4 A2A0 C70B 1A8F > > > -- > 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 > -- Best Regards Edward -- 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
