nvim: Switch to gruvbox8

Back at this again as it loads faster and did not realise last time that
the background can be over ridden with an auto command group to be set
to complete black. The auto command group must be read first before
setting of the color scheme that's why the autocmd file is now loaded
first before everything else.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-05-11 11:32:31 +05:30
parent c94132b1e6
commit c874a027b5
3 changed files with 15 additions and 6 deletions

View file

@ -27,3 +27,8 @@ augroup UserStatusline
autocmd ColorScheme * hi User7 guifg=Gray guibg=Black autocmd ColorScheme * hi User7 guifg=Gray guibg=Black
autocmd ColorScheme * hi User8 guifg=DarkYellow guibg=Black autocmd ColorScheme * hi User8 guifg=DarkYellow guibg=Black
augroup END augroup END
augroup ColorschemeBg
autocmd!
autocmd ColorScheme * hi Normal guibg=#000000
augroup END

View file

@ -74,10 +74,6 @@ set completeopt=menu,noselect,preview,noinsert
" See https://github.com/thaerkh/vim-workspace/issues/11 " See https://github.com/thaerkh/vim-workspace/issues/11
set sessionoptions-=blank set sessionoptions-=blank
let g:jellybeans_use_term_italics = 1
let g:jellybeans_overrides = { 'background': { 'guibg': '000000' } }
colorscheme jellybeans
" Disable providers we do not give a shit about " Disable providers we do not give a shit about
let g:loaded_python_provider = 0 let g:loaded_python_provider = 0
let g:loaded_ruby_provider = 0 let g:loaded_ruby_provider = 0
@ -88,3 +84,11 @@ let g:python3_host_prog = '/usr/bin/python3'
" Disable netrw completely " Disable netrw completely
let g:loaded_netrw = 1 let g:loaded_netrw = 1
let g:loaded_netrwPlugin = 1 let g:loaded_netrwPlugin = 1
" Colorscheme
set background=dark
let g:gruvbox_italics = 0
let g:gruvbox_italicize_strings = 0
let g:gruvbox_filetype_hi_groups = 0
let g:gruvbox_plugin_hi_groups = 1
colorscheme gruvbox8_hard

View file

@ -14,7 +14,7 @@ Plug 'ap/vim-buftabline'
" Manage Project sessions " Manage Project sessions
Plug 'thaerkh/vim-workspace' Plug 'thaerkh/vim-workspace'
" Theme " Theme
Plug 'nanotech/jellybeans.vim' Plug 'lifepillar/vim-gruvbox8'
" Syntax highlighting " Syntax highlighting
Plug 'sheerun/vim-polyglot' Plug 'sheerun/vim-polyglot'
" For LaTeX support " For LaTeX support
@ -99,8 +99,8 @@ call plug#end()
let g:vim_home = get(g:, 'vim_home', expand('~/.config/nvim/')) let g:vim_home = get(g:, 'vim_home', expand('~/.config/nvim/'))
let config_list = [ let config_list = [
\ 'config.vim',
\ 'autocmd.vim', \ 'autocmd.vim',
\ 'config.vim',
\ 'functions.vim', \ 'functions.vim',
\ 'keymappings.vim', \ 'keymappings.vim',
\ 'plugin_settings.vim', \ 'plugin_settings.vim',