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

Indent guides don't appear when second tab is opened #139

Open
kskollepara opened this issue Sep 17, 2019 · 3 comments
Open

Indent guides don't appear when second tab is opened #139

kskollepara opened this issue Sep 17, 2019 · 3 comments

Comments

@kskollepara
Copy link

Indents appear perfectly fine when I open a single file. However, if I open a second file using tabe, then I lose indent guides in both files. Is this a bug or am I doing something wrong? My vimrc has a single line related to indent guides:

let g:indent_guides_enable_on_vim_startup = 1

and my python.vim has following lines:

let g:indent_guides_auto_colors = 0
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd  guibg=red   ctermbg=3
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=green ctermbg=4

Single Tab view:
1

Multiple tab view:
2

@nathanaelkane
Copy link
Collaborator

Very strange. I'm unable to reproduce the problem on my end.

@kskollepara
Copy link
Author

kskollepara commented Sep 19, 2019

Maybe you could reproduce it with my python.vim and vimrc. If you need to look at my .vim folder, I have included the tree output of the folder
python.vim.txt
vim_folder_structure.txt
vimrc.txt

@kskollepara
Copy link
Author

kskollepara commented Jan 22, 2020

The pics I posted were for the python scripts. I checked if the problem persists for other formats by including the same settings in my latex files. Surprisingly, in case of tex files, opening a second tab changed the colour to gray, but still displayed the indents. Don't know if this is useful. See the screenshots below
With only one tab :
image
After opening a second tab:
image

EDIT:
I think it has something to do with the colorscheme.

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