我通常在我的Linux配置上使用Neovim,但是今天我必须使用Mac,我必须使用它一会儿…
所以我安装了软件包管理器Homebrew并安装了Neovim。我把我的配置(init.vim)和安装Vim插件管理器。我安装了我的插件,一切都很好!
当我重新启动Neovim时,我遇到了一个显示问题.背景是蓝色的。
这里有显示背景问题的链接:https://imgur.com/a/bLDsR
这是我通常的配色方案:https://github.com/rakr/vim-one/blob/master/screenshots/new-logo.png
以下是用于配色方案的配置文件的部分:
Plug 'rakr/vim-one'
autocmd ColorScheme one let g:airline_theme='one'
call plug#end()
if (empty($TMUX))
if (has("nvim"))
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
set termguicolors
endif
endif
colorscheme one
set background=dark我不是Mac的专家,我一定是错过了什么,但我不知道是什么。
如果能提供一些帮助,我们将不胜感激。如果你需要更多的细节,我仍将由你支配。
谢谢您:)
https://stackoverflow.com/questions/49408010
复制相似问题