AndyHancock wrote:
> I am trying to get my netrw marked files to show up as yellow, and the
> target directory for copying marked files to show up as bolded cyan.
> In my vimrc, I have:
>
>     syntax on
>     color mine
>
> I deliberately stuck "syntax on" as a precaution because the highlight
> groups netrwMarkFile and netrwCopyTgt don't exist without "syntax
> on".  Without it, the "color mine" seems to have no effect in netrw.
> [snip]
> The Cyan for Directory works.  The yellow for netrwMarkFile works.
> But the netrwCopyTgt doesn't work (neither bold nor yellow)
>
[snip]
The netrwCopyTgt syntax is transparent.  You need to get rid of that 
modifier.   So, put in your .vim/after/syntax/netrw.vim file:
syn clear netrwCopyTgt
syn match netrwCopyTgt "Copy/Move Tgt:" contained skipwhite 
nextgroup=netrwList
hi link netrwCopyTgt Unique
where Unique is whatever color you want (or, instead of hi link ..., use 
hi and fg= bg= etc specifications).
C Campbell
-- 
-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
 
No comments:
Post a Comment