vim-airline / vim-airline-themes

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

Airline themes differ between Vim and Neovim using tmux #248

Closed garyayo closed 3 years ago

garyayo commented 3 years ago

environment

$ nvim --version
NVIM v0.4.4 Build type: Release LuaJIT 2.0.5 Compilation: /usr/bin/clang -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wmissing-prototypes -Wimplicit-fallthrough -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20200808-89283-1us0ytm/neovim-0.4.4/build/config -I/tmp/neovim-20200808-89283-1us0ytm/neovim-0.4.4/src -I/usr/local/include -I/tmp/neovim-20200808-89283-1us0ytm/neovim-0.4.4/deps-build/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/usr/local/opt/gettext/include -I/tmp/neovim-20200808-89283-1us0ytm/neovim-0.4.4/build/src/nvim/auto -I/tmp/neovim-20200808-89283-1us0ytm/neovim-0.4.4/build/include Compiled by brew@Catalina

Features: +acl +iconv +tui See ":help feature-compile"

system vimrc file: "$VIM/sysinit.vim" fall-back for $VIM: "/usr/local/Cellar/neovim/0.4.4/share/nvim"

Run :checkhealth for more info

- vim-airline: latest
- colorscheme: solarized_flood (and all other themes)
- OS: MacOS 11.2
- Have you reproduced with a minimal vimrc: no
- What is your airline configuration:

" --------- " airline.vim " --------- let g:airline_theme='solarized_flood' let g:airline#extensions#tabline#enabled = 1 let g:airline#extensions#tabline#formatter = 'unique_tail' let g:airline#extensions#tabline#show_buffers = 0 let g:airline#extensions#tabline#tab_min_count = 2 let g:airline#extensions#tabline#show_close_button = 0


if you are using terminal:
- terminal: Kitty
- $TERM variable: `screen-256color`
- color configuration (:set t_Co?):  `256`
if you are using Neovim:
- does it happen in Vim: yes

#### actual behavior

inconsistent theme colors between vim and nvim

#### expected behavior

consistent theme colors between vim and nvim

#### screen shot (if possible)
Split tmux pane, left running Neovim 0.4.4 and right running Vim 8.2 (shares the same `.vimrc` file)
<img width="1914" alt="Screen Shot 2021-02-05 at 10 22 12 AM" src="https://user-images.githubusercontent.com/8942915/107053864-5ba50580-679d-11eb-88b9-a04f7ae9e44e.png">

Unable to reproduced this issue outside of tmux.
chrisbra commented 3 years ago

this may depend on the configuration of your terminal and options like termguicolors. Also vim may interanally set some additional termcap settings that neovim doesn't. So this depends on the correct termcap library and correct configuration. I think this is out of scope for this project.