Hello, I recently reinstall my entire distro (fedora 34) and while re-setuping vim I realized I cannot have vim-airline working properly.
The branch is not being displayed. I tried many things (see mini reproducible below), I also tried to defined AirlineInit without success.
- vim-airline: commit `b861f9d2483a8b066f7b5b4dbae8990ff21455c5`
- OS: fedora 34
- Have you reproduced with a minimal vimrc: yes
- What is your airline configuration:
" Load the powerline symbols
let g:airline_powerline_fonts = 1
" Use the tabline (integrated in vim-airline) to show buffers on top
let g:airline#extensions#tabline#enabled = 1
" Use the branch info
let g:airline#extensions#branch#enabled = 1
if you are using terminal:
- terminal: tilix
- $TERM variable: xterm-256color
- color configuration (:set t_Co?): 256
if you are using Neovim: no
- does it happen in Vim: yes
#### actual behavior
I cannot see the branch in the status-line in vim while I can in shell
in shell:
![image](https://user-images.githubusercontent.com/3612473/127098517-61a48552-938a-4643-815c-9706c4bc286f.png)
in vim:
![image](https://user-images.githubusercontent.com/3612473/127098612-1c65e558-0d88-4425-9564-3039ce299b11.png)
#### expected behavior
I would expect master somewhere in the status line
Hello, I recently reinstall my entire distro (fedora 34) and while re-setuping vim I realized I cannot have vim-airline working properly. The branch is not being displayed. I tried many things (see mini reproducible below), I also tried to defined AirlineInit without success.
Could you kindly help ?
environment
" Specify a directory for plugins " At the time of writing vim-plug must be install doing " bash) curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug. vim call plug#begin('~/.vim/plugged') " Patched fonts for Powerline: https://github.com/powerline/fonts Plug 'powerline/fonts', {'do': './install.sh'} " Lean & mean status/tabline for vim: https://github.com/vim-airline/vim-airline Plug 'vim-airline/vim-airline' call plug#end()
" Load the powerline symbols let g:airline_powerline_fonts = 1 " Use the tabline (integrated in vim-airline) to show buffers on top let g:airline#extensions#tabline#enabled = 1 " Use the branch info let g:airline#extensions#branch#enabled = 1