neovim Gruvbox appears all white and grey, I can't spot the mistake

拈花ヽ惹草 提交于 2020-01-17 12:18:06

问题


I can’t get Gruvbox to work. I’m using neovim. And I would really appreciate if someone can locate the mistake.

I’ve installed gruvbox in ~/.config/nvim/bundle/ and this is my entire ~/.config/nvim/init.vim file. I tried to add True Color in two different ways.

execute pathogen#infect()                                                       

filetype plugin indent on                                                       

set tabstop=4   

set expandtab                                                                   

map <C-n> :NERDTreeToggle<CR>                                                   

set termguicolors     

let $NVIM_TUI_ENABLE_TRUE_COLOR=1 

colorscheme gruvbox  

And when I run :colorscheme from inside vim I see gruvbox listed there. But it looks awful, no highlighting, all grey text on white.

I don’t know where the mistake is.

Thank you.


回答1:


To correct the appearance, remove the lines below that set termguicolors

    set termguicolors


来源:https://stackoverflow.com/questions/39987769/neovim-gruvbox-appears-all-white-and-grey-i-cant-spot-the-mistake

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!