diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index cee4a3f..6782660 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -145,7 +145,12 @@ let mapleader="\" " UI Options { " Colorscheme options. set bg=dark - colorscheme gruvbox + " silent!, because the colorscheme comes from a vim-plug plugin and this + " file is checked out on machines where :PlugInstall has never run. Without + " it every nvim start on shron printed + " E185: Cannot find color scheme 'gruvbox' + " A missing theme is not worth an error; the default one works. + silent! colorscheme gruvbox " Also highlight all tabs and trailing whitespace characters. highlight ExtraWhitespace ctermbg=darkgreen guibg=darkgreen