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:
parent
f297e2e221
commit
84236e28ad
13
vim/vimrc
13
vim/vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user