diff options
Diffstat (limited to 'colors/juvenile.vim')
-rw-r--r-- | colors/juvenile.vim | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/colors/juvenile.vim b/colors/juvenile.vim index bb7abf4..1a1bbce 100644 --- a/colors/juvenile.vim +++ b/colors/juvenile.vim @@ -8,10 +8,15 @@ " License: Same as Vim itself " set background=dark -highlight clear +if version > 580 + highlight clear + if exists('g:syntax_on') + syntax reset + endif syntax reset -let g:colors_name="juvenile" -if has("gui_running") || &t_Co == 256 +let g:colors_name = 'juvenile' + +if has('gui_running') || &t_Co == 256 highlight Comment cterm=NONE ctermfg=246 ctermbg=NONE gui=NONE guifg=#a0a0a0 guibg=NONE highlight NonText cterm=NONE ctermfg=246 ctermbg=NONE gui=NONE guifg=#a0a0a0 guibg=NONE highlight Constant cterm=NONE ctermfg=NONE ctermbg=NONE gui=NONE guifg=NONE guibg=NONE |