You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#buffer_nr_show = 0
let g:airline_theme='solarized'
However, for some strange reason, the powerline symbols are not displayed properly (see the image below).
I tried with vim7.4 as well as vim9 and the result is the same. Strangely enough I do not have this issue on another Centos 7 machine which is configured identically. I have been able to get the symbols displayed properly on a RHEL7 machine as well as on a Ubuntu 20.04 machine. I have no clue what I am doing wrong and how to debug this issue.
I have tried to add this to my .vimrc file
if !exists('g:airline_symbols')
let g:airline_symbols = {}
endif
" unicode symbols
let g:airline_left_sep = '»'
let g:airline_left_sep = '▶'
let g:airline_right_sep = '«'
let g:airline_right_sep = '◀'
let g:airline_symbols.colnr = ' ㏇:'
let g:airline_symbols.colnr = ' ℅:'
let g:airline_symbols.crypt = '🔒'
let g:airline_symbols.linenr = '☰'
let g:airline_symbols.linenr = ' ␊:'
let g:airline_symbols.linenr = ' :'
let g:airline_symbols.linenr = '¶'
let g:airline_symbols.maxlinenr = ''
let g:airline_symbols.maxlinenr = '㏑'
let g:airline_symbols.branch = '⎇'
let g:airline_symbols.paste = 'ρ'
let g:airline_symbols.paste = 'Þ'
let g:airline_symbols.paste = '∥'
let g:airline_symbols.spell = 'Ꞩ'
let g:airline_symbols.notexists = 'Ɇ'
let g:airline_symbols.whitespace = 'Ξ'
and I have tried this
" powerline symbols
let g:airline_left_sep = ''
let g:airline_left_alt_sep = ''
let g:airline_right_sep = ''
let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = ''
let g:airline_symbols.colnr = ' ℅:'
let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = ' :'
let g:airline_symbols.maxlinenr = '☰ '
let g:airline_symbols.dirty='⚡'
and this
" old vim-powerline symbols
let g:airline_left_sep = '⮀'
let g:airline_left_alt_sep = '⮁'
let g:airline_right_sep = '⮂'
let g:airline_right_alt_sep = '⮃'
let g:airline_symbols.branch = '⭠'
let g:airline_symbols.readonly = '⭤'
but none of the above could fix the issue.
The powerline fonts are displayed properly in my terminal. This is why I am suspecting an issue with vim-airline but I am not sure what is going on.
Thanks for any hint
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I use the following recipe to install powerline and the powerline fonts on my centos7 machine
curl https://bootstrap.pypa.io/pip/3.6/get-pip.py -o get-pip.py
python3.6 get-pip.py
~/.local/bin/pip install powerline-status
git clone https://github.com/powerline/fonts.git --depth=1 powerline-fonts
cd powerline-fonts && ./install.sh
I compiled and installed Gvim9 using the following configuration
and I have following lines in my
.vimrc
and
However, for some strange reason, the powerline symbols are not displayed properly (see the image below).
I tried with vim7.4 as well as vim9 and the result is the same. Strangely enough I do not have this issue on another Centos 7 machine which is configured identically. I have been able to get the symbols displayed properly on a RHEL7 machine as well as on a Ubuntu 20.04 machine. I have no clue what I am doing wrong and how to debug this issue.
I have tried to add this to my
.vimrc
fileand I have tried this
and this
but none of the above could fix the issue.
The powerline fonts are displayed properly in my terminal. This is why I am suspecting an issue with vim-airline but I am not sure what is going on.
Thanks for any hint
Beta Was this translation helpful? Give feedback.
All reactions