我通常在Linux配置上使用Neovim,但今天我必须使用Mac,并且暂时要使用它...
因此,我安装了软件包管理器Homebrew并安装了Neovim。我放入配置文件(init.vim)并安装Vim-Plug插件管理器。我安装了插件,一切正常!
重新启动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方面的专家,我一定错过了一些东西,但我不知道是什么。
一些帮助将不胜感激。如果您需要更多详细信息,我随时为您服务。
谢谢:)