Add check to 256 color about vim (#52)

This commit is contained in:
IK 2019-12-09 01:05:45 +09:00 committed by Andrea Leopardi
parent 62c8e664bb
commit 56fc09d8f5

View file

@ -18,6 +18,9 @@ if exists('syntax_on') | syntax reset | endif
set background=dark
let g:colors_name = 'gotham256'
if !(has('termguicolors') && &termguicolors) && !has('gui_running') && &t_Co != 256
finish
endif
" Helper functions =============================================================