Fix vim colours in console

This commit is contained in:
natemaia 2018-08-18 15:15:37 -07:00
parent bc77924804
commit a947ff930b
2 changed files with 4 additions and 8 deletions

View File

@ -52,7 +52,7 @@ let s:jinx.tabsel_bgr = ['#8DBC8D', 108]
if exists('g:jinx_colors') && g:jinx_colors =~? 'day'
set background=light
let s:jinx.fgr = ['#494949', 238]
let s:jinx.bgr = ['#E1E1E1', 254]
let s:jinx.bgr = ['#E1E1E1', 255]
let s:jinx.line = ['#D0D0D0', 252]
let s:jinx.select = ['#D0D0D0', 252]
let s:jinx.folded = ['#B2B2B2', 249]
@ -67,7 +67,7 @@ if exists('g:jinx_colors') && g:jinx_colors =~? 'day'
let s:jinx.orange = ['#E0914C', 172]
else
set background=dark
let s:jinx.fgr = ['#E1E1E1', 253]
let s:jinx.fgr = ['#E1E1E1', 255]
let s:jinx.bgr = ['#1c2023', 234]
let s:jinx.line = ['#2c3135', 67]
let s:jinx.select = ['#2c3135', 67]

View File

@ -39,8 +39,8 @@ syntax enable
if has('termguicolors') && $DISPLAY !=? '' && &t_Co == 256
set termguicolors " true colors in the terminal
try
let g:jinx_colors = 'night' " night or day, 'T' to change on the fly
try
colorscheme jinx
catch
colorscheme evening
@ -52,11 +52,7 @@ if has('termguicolors') && $DISPLAY !=? '' && &t_Co == 256
let &term = 'xterm-256color'
endif
else
try
colorscheme jinx
catch
colorscheme evening
endtry
colorscheme slate
endif
" change cursor shape for different editing modes, neovim does this by default