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

airline colorschema disappears after jedi finishing codes indication, how to fix it? #550

Closed
xros opened this issue Mar 21, 2016 · 4 comments

Comments

@xros
Copy link

xros commented Mar 21, 2016

the original issue was here: vim-airline/vim-airline#1100

After removing jedi-vim, the airline shows up back. So i guess it's about jedi-vim, which might change the colorschema of airline somehow.

don't know where it affects that.

F.Y.I. the jedi-vim works like a charm, it's just jedi-vim does not work well with airline https://github.com/vim-airline/

@davidhalter
Copy link
Owner

I just grepped for color and couldn't find anything. I doubt that we're doing anything with the color scheme.

Could you maybe try to debug this one?

@xros
Copy link
Author

xros commented Mar 22, 2016

@davidhalter Hi. I found a clue yesterday: I found that the airline would come back if I jump between different windows in Vim using Ctrlwn start a new window, jump out and jump back...

I think this is because the jedi does not release the window focus or vim-airline does not capture the latest window.

after jedi giving grammar guides:

snapshot209

after re-sizing my terminal or jumping windows between main window or NERDTree.

snapshot210

They say airline support automatically re-sizing

by the way, how to debug this?

@xros
Copy link
Author

xros commented Mar 22, 2016

this problem was solved.
here's the reference.
vim-airline/vim-airline#78 (comment)

and here's my vim-airline settings in .vimrc

" airline settings                                                                                                
let g:airline#extensions#tabline#enabled = 1                                                                      
let g:airline#extensions#tabline#left_sep = ' '                                                                   
let g:airline#extensions#tabline#left_alt_sep = '|'                                                               
let g:airline_powerline_fonts = 1                                                                                 
let g:airline_exclude_preview=1    

thank you @davidhalter 😄

@xros xros closed this as completed Mar 22, 2016
@davidhalter
Copy link
Owner

Thanks for debugging :)

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

No branches or pull requests

2 participants