vim-airline / vim-airline-themes

A collection of themes for vim-airline
MIT License
2.04k stars 348 forks source link

Wrong bar colors with nord theme in vim, everything fine in neovim #228

Closed danielfalbo closed 4 years ago

danielfalbo commented 4 years ago

environment

set termguicolors let g:airline_theme='base16_nord'


- What is your airline configuration: see vimrc above
if you are using terminal:
- terminal: Alacritty 
- $TERM variable: screen-256color
- color configuration (:set t_Co?): 256
if you are using Neovim:
- does it happen in Vim: in Neovim everything works fine

#### actual behavior

wrong colors in vim, everything fine in neovim

#### expected behavior

red airline background in normal mode for the theme 'base16_nord'

#### screen shot (if possible)
![Screenshot 2020-09-05 at 12 48 11](https://user-images.githubusercontent.com/39460524/92303608-c8aa3a00-ef76-11ea-8276-37b06963ed43.png)
get-me-power commented 4 years ago

It did not reappear. Perhaps the problem is that set termguicolors is enabled in neovim, but not in vim. Can you check the configuration again?

danielfalbo commented 4 years ago

Weird! output

get-me-power commented 4 years ago

What happens when I update my Vim to the latest version?

danielfalbo commented 4 years ago

Oh yes! I think my problem is that I'm using macOS's built-in vim. I'm gonna update vim and try again

get-me-power commented 4 years ago

The built-in Vim on macOS is built with the termguicolors option disabled. Therefore, if you want to enable termguicolors, you need to build it yourself.

danielfalbo commented 4 years ago

Thank you much!