1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

vim: clean up colorscheme config

This commit is contained in:
bretello 2021-12-08 23:04:34 +01:00
parent f297e2e221
commit 84236e28ad
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

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