Vimr: powerline font for vim-airline display without color

Created on 12 Jan 2017  ·  7Comments  ·  Source: qvacua/vimr

seemed that all symbols have no foreground with white and background color with black.
wrong display result:
vimr
same init.vim in terminal
nvim

duplicate

Most helpful comment

Oh, forgot to mention that the guifont option is ignored in VimR. You have to set the font in the Appearance preferences pane to a Powerline-enabled font.

All 7 comments

Have you set termguicolors in your init.vim?

no I havent
but i use dracula/vim as my custom color, maybe that plug set it.
here is my init.vim

" use 'junegunn/vim-plug' as plugin manager
call plug#begin()

" Make sure you use single quotes
Plug 'dracula/vim' " 配色
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'

" Add plugins to &runtimepath
call plug#end()

color dracula " 使用配色
let g:airline_powerline_fonts=1 " airline 使用高级字体

set colorcolumn=81

@selaselah @marvel64 Please add set termguicolors to your init.vim and try again. This issue should have been fixed by GH-236 and GH-265...

add set termguicolors and restart vimr, the issue fixed~

Thank you for the quick replies, but it does not work:

" GENERAL EDITOR SETTINGS
syntax enable
" enable true color 2016-03-21
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
"filetype off
set encoding=utf8
set termguicolors

let g:airline_powerline_fonts = 1

Is there a specific powerline font I shall use?

Oh, forgot to mention that the guifont option is ignored in VimR. You have to set the font in the Appearance preferences pane to a Powerline-enabled font.

Fantastic, works.Thanks!

On Jan 13, 2017, at 1:58 PM, Tae Won Ha notifications@github.com wrote:

Oh, forgot to mention that the guifont option is ignored in VimR. You have to set the font in the Appearance preferences pane to a Powerline-enabled font.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/qvacua/vimr/issues/385#issuecomment-272518212, or mute the thread https://github.com/notifications/unsubscribe-auth/AKoz3N6X5MtMqlgcKZK4SedXSgLJScCLks5rR8k8gaJpZM4Lha_e.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TravisDart picture TravisDart  ·  7Comments

crisidev picture crisidev  ·  7Comments

cvincent picture cvincent  ·  4Comments

romaninsh picture romaninsh  ·  7Comments

qvacua picture qvacua  ·  7Comments