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

Exclude :hi Folded from dimming? #15

Open
lkraav opened this issue May 31, 2015 · 3 comments
Open

Exclude :hi Folded from dimming? #15

lkraav opened this issue May 31, 2015 · 3 comments
Labels

Comments

@lkraav
Copy link

lkraav commented May 31, 2015

I'd like to leave :hi Folded ctermbg alone in dimmed windows. Possible?

@lkraav lkraav changed the title Exclude Folded from dimming? Exclude :hi Folded from dimming? May 31, 2015
@blueyed
Copy link
Owner

blueyed commented May 31, 2015

Yes, that seems to work.

Just use another ctermbg etc for Folded than for ColorColumn.

For me however, using cterm=underline with Folded seems to be enough.

:hi ColorColumn
ColorColumn    xxx ctermbg=7 guibg=LightRed
:hi Folded
Folded         xxx cterm=bold,underline ctermfg=11 ctermbg=7 guifg=DarkBlue
                   guibg=LightGrey

@blueyed
Copy link
Owner

blueyed commented May 31, 2015

The default settings seems to be:

:hi Folded
Folded         xxx ctermfg=4 ctermbg=248 guifg=DarkBlue guibg=LightGrey
:hi ColorColumn
ColorColumn    xxx ctermbg=224 guibg=LightRed

(using Neovim)

With Vim it's:

:hi Folded
Folded         xxx term=standout ctermfg=4 ctermbg=248 guifg=DarkBlue
                   guibg=LightGrey
:hi ColorColumn
ColorColumn    xxx term=reverse ctermbg=224 guibg=LightRed

So here maybe the reverse is causing trouble?

What are your settings for Folded and ColorColumn?

@lkraav
Copy link
Author

lkraav commented Jun 1, 2015

:hi ColorColumn
ColorColumn    xxx term=reverse ctermbg=254 guibg=#d8cad8

:hi Folded
Folded         xxx term=standout ctermfg=11 ctermbg=155 guifg=#9e8f9e guibg=#d8cad8

When I switch window, everything in the inactive window gets ColorColumn ctermbg. I can't figure out a setting that would keep Folded ctermbg=155.

screenshot from 2015-06-01 11-50-29

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

No branches or pull requests

2 participants