By stealing I meant that you can place something like this into your
~/.vim/after/syntax/sh.vim:
syn cluster shCommentGroup contains=shTodo,@Spell,shCommentTitle
syn match shCommentTitle '#\s*\u\w*\(\s\+\w\w*\)*:'hs=s+1 contained
contains=shCommentTitleLeader
syn match shCommentTitleLeader '#\s\+'ms=s+1 contained
hi def link shCommentTitle PreProc
(Haven't tested it though)
---------------------
Kent,
It works!
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!
TonyB
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