Re: MacVim syntax files
- By stealing I meant that you can place something like this into your
syn cluster shCommentGroup contains=shTodo,@Spell,shCommentTitle
syn match shCommentTitle '#\s*\u\w*\(\s\+\w\w*\)*:'hs=s+1 contained
syn match shCommentTitleLeader '#\s\+'ms=s+1 contained
hi def link shCommentTitle PreProc
(Haven't tested it though)
The 3rd line down (contains=shCommentTitleLeader) caused an error when
the file loaded. I moved it to the end of
the first line... It works great. Thank you.
Now I must examine why it works!
ALSO - I apologize to all for the past 'top posts'. Old habits die hard!
You received this message from the "vim_mac" 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