rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Powerline glyphs rendering problem #238

Closed jostyee closed 8 years ago

jostyee commented 8 years ago

The newest PragmataPro font improves support for Vim Powerline: http://fsd.tumblr.com/post/34355224168/vim-powerline-inside-pragmatapro-v-0811

I configured the settings below:

set guifont=PragmataPro\ Mono:h11
let g:airline_powerline_fonts=1

and nvim in iterm2 looks great:

screen shot 2016-04-06 at 10 45 06 pm

but Neovim.app is a totally mess:

screen shot 2016-04-06 at 10 46 07 pm
rogual commented 8 years ago

Are you sure that powerline fonts setting is taking effect? Even in your iterm2 screenshot, the arrow shapes aren't showing.

jostyee commented 8 years ago
screen shot 2016-04-07 at 12 24 15 am

Neovim in iTerm2.

bambu commented 8 years ago

@iyee did you select your font from Edit->Show Fonts? I don't think Neovim dot App supports gvim's guifont. Does it @rogual?

jostyee commented 8 years ago

@bambu Thanks a lot, you found the solution.

rogual commented 8 years ago

Thanks @bambu. Yep, all gui stuff is deprecated or removed in Neovim (and hence Neovim.app)

rogual commented 8 years ago

If you do want to set your font from your vimrc, you can still do:

call MacSetFont("Font Name", 12)
jostyee commented 8 years ago

@rogual Thank you, it works.