Wednesday, January 16, 2019

Re: How to make all listchars visible in a black background?

On 2019-01-16, Peng Yu wrote:
> Hi,
>
> I set listchars with the following commands. But tab is not visible
> in a black background in terminal. But eol is visible. Why is this?
> How to make tab visible? Thanks.
>
> set listchars=tab:>-,eol:$

Tabs are in the SpecialKey highlight group; EOLs are in the NonText
highlight group. On a black background you might try

:hi SpecialKey ctermfg=lightblue

See

:help 'listchars'
:help hl-NonText
:help hl-SpecialKey

HTH,
Gary

--
--
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/d/optout.

No comments:

Post a Comment