rogual / neovim-dot-app

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

Airline separators look weird #215

Closed manudevelopia closed 8 years ago

manudevelopia commented 8 years ago

After a long time without updating neovim-dot-up, I made it and now this is how vim-airline is shown, the separators look weird. I´m using hack font.

screen shot 2016-02-22 at 22 12 47

But this should be something like: screen shot 2016-02-22 at 22 20 26

rogual commented 8 years ago

I run vim-airline and I can't reproduce this. I use the font "Monaco for Powerline".

manudevelopia commented 8 years ago

I tried to change, but same result. I will test on my other devices.

mikew commented 8 years ago

I'm seeing it with Monaco for Powerline:

screen shot 2016-02-25 at 10 26 08 pm

And if I instal vim-airline-themes, it goes grayscale for some reason:

screen shot 2016-02-26 at 10 10 06 am

When running nvim from terminal things are normal.

U47 commented 8 years ago

I'm seeing the same as everyone else. This is using Input font.

Neovim in iTerm2: neovim

Neovim.app neovim-dot-app

mikew commented 8 years ago

@ManuDevelopia @U47 Could you try this?

echo 'let $NVIM_TUI_ENABLE_TRUE_COLOR=1' | cat - /Applications/Neovim.app/Contents/Resources/nvimrc | tee /Applications/Neovim.app/Contents/Resources/nvimrc

(Add let $NVIM_TUI_ENABLE_TRUE_COLOR=1 to the beginning of /Applications/Neovim.app/Contents/Resources/nvimrc)

That seems to fix my issues with airline. If it fixes your issues as well I'll send a PR.

screen shot 2016-03-01 at 12 08 37 am
dixius99 commented 8 years ago

@mikew This worked for me!

manudevelopia commented 8 years ago

Thanks @mikew this worked for me too

U47 commented 8 years ago

Haha. I added that to a shell alias for nvim to enable übercolour in iTerm2. I should have thought to add that to Neovim.app's nvimrc.

Thanks, @mikew. She works!

manudevelopia commented 8 years ago

For me this issue is back, any one else?

dixius99 commented 8 years ago

Mine's still okay.

mikew commented 8 years ago

It's back for me too. @ManuDevelopia try adding set termguicolors in your vimrc before setting your colorscheme.

manudevelopia commented 8 years ago

Thanks again @mikew! separators are now ok!

geraldus commented 7 years ago

For me the perfect solution was to prepend to /Applications/Neovim.app/Contents/Resources/nvimrc following line:

set termguicolors

This gives proper look of powerline symbols both for Neovim GUI and nvim in the shell.