-
Notifications
You must be signed in to change notification settings - Fork 166
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
Guides not showing up the first time with colorscheme desert #109
Comments
I got the same issue. I found that when vim starts, "let s:hi_normal = indent_guides#capture_highlight('Normal')" will get if ":colorscheme desert", "indent_guides#capture_highlight('Normal')" returns "Normal xxx guifg=gray guibg=grey17", and the plugin works fine. My workaround is: |
Any fix for this issue? I really like 'desert'. With other colorschemes (like molokai), indent guides show up right on cue as soon as I start vim with a file. |
You can try my workaround. Works for me. |
same with you |
Yes, this worked for me too. |
I've just had to resurrect my github account to comment that I am experiencing this exact same issue, but weirdly enough only in gVim. I'm using gVim 8.1, and the Desert colorscheme. I've already attempted jerrylipeng's workaround to no avail. I had to dig manually through the script files of this plugin to figure out which color it grabs from the color scheme and how it actually computes the highlight values to come up with this manual workaround that only applies to my version of the desert colorscheme: First, Checking the
If jerrylipeng's workaround doesn't work for you, you may want to try this more manual fix until the plugin gets updated to fix this bug with the desert color scheme. |
Here's my .vimrc snippet:
let g:indent_guides_start_level=2
let g:indent_guides_guide_size=1
let g:indent_guides_enable_on_vim_startup=1
colorscheme desert
set background=dark
When I was on a different colorscheme (gruvbox), guides showed up just fine when opening up vim for the first time.
But now, with the desert colorscheme, the first time guides don't show up, but when I set background to dark again (even though it is already set to dark in vimrc) within vim, they show up.
What's happening?
The text was updated successfully, but these errors were encountered: