diff --git a/colors/odyssey.vim b/colors/odyssey.vim index 2399197..22479f6 100644 --- a/colors/odyssey.vim +++ b/colors/odyssey.vim @@ -15,9 +15,24 @@ " Maintainer: Ludovic Koenig " License: MIT " -" Bootstrap {{{ +" Initialisation {{{ + +if !(has('termguicolors') && &termguicolors) && !has('gui_running') + finish +endif + +if v:version > 580 + set background=dark + highlight clear + if exists('syntax_on') + syntax reset + endif +else + finish +endif + +let g:colors_name = 'odyssey' -" TODO Improve the bootstrap process ;-) let s:colors = {} " }}}