vim: clean up colorscheme config

pull/6/head
bretello 2021-12-08 23:04:34 +01:00
parent f297e2e221
commit 84236e28ad
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 6 additions and 7 deletions

View File

@ -9,7 +9,12 @@ scriptencoding utf-8
"" Style
" enable truecolor mode
set termguicolors
if has("termguicolors")
set termguicolors
else
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
endif
set background=dark
let g:gruvbox_contrast_dark='hard'
let g:gruvbox_sign_column='bg0'
@ -17,12 +22,6 @@ let g:gruvbox_sign_column='bg0'
" Show some gui colors in term
let g:gruvbox_guisp_fallback='bg'
colorscheme gruvbox
" enable truecolor support
set termguicolors
if ! has('termguicolors')
let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum"
let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum"
endif
" General stuff
set nowrap