vim-airline-themes icon indicating copy to clipboard operation
vim-airline-themes copied to clipboard

theme The color doesn't look right

Open Dnnecessary opened this issue 3 years ago • 1 comments

environment

  • vim: 8.2.3400
  • vim-airline: 0.11
  • colorscheme: deus
  • OS: macOS Big Sur 11.5.2 iTerm2
  • Have you reproduced with a minimal vimrc: yes
  • What is your airline configuration:
" vim-airline
let g:airline_powerline_fonts = 1
" theme
let g:airline_theme='deus'
let g:bufferline_echo = 0
let g:airline_mode_map = {
      \ '__' : '-',
      \ 'n'  : 'N',
      \ 'i'  : 'I',
      \ 'R'  : 'R',
      \ 'c'  : 'C',
      \ 'v'  : 'V',
      \ 'V'  : 'V',
      \ 's'  : 'S',
      \ 'S'  : 'S',
      \ }

" 关闭检测空格
let g:airline#extensions#whitespace#enabled = 0
let g:airline_exclude_preview = 1
let g:airline#extensions#hunks#non_zero_only = 1
let g:airline#extensions#ale#enabled = 0
let g:airline_section_z = airline#section#create(['windowswap', '%3p%% ', 'linenr'])


" 始终显示状态栏
set laststatus=2



" 启用256色
set term=xterm-256color

if you are using terminal:

  • terminal: iTerm2
  • $TERM variable: xterm-256color
  • color configuration (:set t_Co?): 256 if you are using Neovim: no
  • does it happen in Vim: yes

actual behavior

The color doesn't look right

expected behavior

I hope so

CleanShot 2021-09-10 at 19 45 24@2x

screen shot (if possible)

CleanShot 2021-09-10 at 19 39 31@2x


CleanShot 2021-09-10 at 19 39 53@2x


CleanShot 2021-09-10 at 19 40 14@2x

Dnnecessary avatar Sep 10 '21 11:09 Dnnecessary

Disable your terminal theme in iTerm, it's overriding colors.

taigrr avatar Sep 25 '21 18:09 taigrr