mirror of
https://github.com/whatyouhide/vim-gotham.git
synced 2026-09-10 07:26:17 -04:00
Add check to 256 color about vim (#52)
This commit is contained in:
parent
62c8e664bb
commit
56fc09d8f5
|
|
@ -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 =============================================================
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue