nanotech / jellybeans.vim

A colorful, dark color scheme for Vim.
http://www.vim.org/scripts/script.php?script_id=2555
1.8k stars 315 forks source link

Error using `termguicolors` and guibg overrides #58

Closed lithammer closed 8 years ago

lithammer commented 8 years ago

Using the .vimrc below I get the following error during startup:

Error detected while processing function <SNR>10_load_colors[3]..<SNR>10_load_color_def[1]..<SNR>10_X:
line   17:
E254: Cannot allocate color #none
Error detected while processing function <SNR>10_load_colors[4]..<SNR>10_load_color_def[1]..<SNR>10_X:
line   17:
E254: Cannot allocate color #none
Error detected while processing function <SNR>10_load_colors[5]..<SNR>10_load_color_def[1]..<SNR>10_X:
line   17:
E254: Cannot allocate color #none
Press ENTER or type command to continue
" vim-plug
call plug#begin()
Plug 'nanotech/jellybeans.vim'
call plug#end()

if has('termguicolors') " 7.4.1799
  set termguicolors
  let g:jellybeans_overrides = {
  \    'background': { 'ctermbg': 'none', '256ctermbg': 'none', 'guibg': 'none' },
  \}
  colorscheme jellybeans
endif

Vim version 7.4-2334 jellybeans version https://github.com/nanotech/jellybeans.vim/commit/7a637372d0ed43ca740426f010cd0963c358aaf2

nanotech commented 8 years ago

Thanks!