Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate color for NonText #11

Open
tiberiuichim opened this issue Feb 27, 2017 · 5 comments
Open

Separate color for NonText #11

tiberiuichim opened this issue Feb 27, 2017 · 5 comments

Comments

@tiberiuichim
Copy link

I've noticed that the NonText highlight is linked to Comment.

I have something like this in my .vimrc:

set listchars=tab:▸\ ,trail:•,extends:>,precedes:<,nbsp:+,eol:¬

Which makes the EOL show up and is highlighted with NonText. I don't want these characters to be as visible as my comments, I want them really dim, so I setup custom highlights for them.

I wonder if this wouldn't benefit more people, by having a separate color for the NonText highlight in the colorscheme. I have it set to #112233

@AlessandroYorba
Copy link
Owner

AlessandroYorba commented Feb 27, 2017

@tiberiuichim Good point! I like your idea. Would you mind trying this in your vimrc. It uses a teal color alreay found in the palette. If you approve, I'll commit a change

autocmd ColorScheme despacio highlight! NonText guifg=#5f8787 ctermfg=66 

@tiberiuichim
Copy link
Author

It seems kind of light for me, but I usually set the background to something darker. It all depends on the amount of ambient lighting (and even machine, I use a different color on my desktop from my laptop), so there's probably no good answer here.

@AlessandroYorba
Copy link
Owner

@tiberiuichim I'm open to any color within the Despacio palette. How about the brown/tan color found in CursorLineNr:

autocmd ColorScheme despacio highlight! NonText guifg=#af875f ctermfg=137

@tiberiuichim
Copy link
Author

Still too light. The current comment color, I think, is the darkest, so there's no right answer from the Despacio palette.

@AlessandroYorba
Copy link
Owner

AlessandroYorba commented Nov 2, 2017

@tiberiuichim Yo! I revised despacio on the nightly build. I think it's a winner. If you can take a look and tell me what you think https://github.com/AlessandroYorba/Despacio/tree/nightly

Also I remember you saying once that you use a transparent background. I'm thinking of adding a variable that removes background highlighting for terminal users. What other UI elements do you also like having no background for? ( e.g LineNr, TabLine, Normal )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants