Fix vim colours in console
This commit is contained in:
parent
bc77924804
commit
a947ff930b
@ -52,7 +52,7 @@ let s:jinx.tabsel_bgr = ['#8DBC8D', 108]
|
|||||||
if exists('g:jinx_colors') && g:jinx_colors =~? 'day'
|
if exists('g:jinx_colors') && g:jinx_colors =~? 'day'
|
||||||
set background=light
|
set background=light
|
||||||
let s:jinx.fgr = ['#494949', 238]
|
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.line = ['#D0D0D0', 252]
|
||||||
let s:jinx.select = ['#D0D0D0', 252]
|
let s:jinx.select = ['#D0D0D0', 252]
|
||||||
let s:jinx.folded = ['#B2B2B2', 249]
|
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]
|
let s:jinx.orange = ['#E0914C', 172]
|
||||||
else
|
else
|
||||||
set background=dark
|
set background=dark
|
||||||
let s:jinx.fgr = ['#E1E1E1', 253]
|
let s:jinx.fgr = ['#E1E1E1', 255]
|
||||||
let s:jinx.bgr = ['#1c2023', 234]
|
let s:jinx.bgr = ['#1c2023', 234]
|
||||||
let s:jinx.line = ['#2c3135', 67]
|
let s:jinx.line = ['#2c3135', 67]
|
||||||
let s:jinx.select = ['#2c3135', 67]
|
let s:jinx.select = ['#2c3135', 67]
|
||||||
|
@ -39,8 +39,8 @@ syntax enable
|
|||||||
|
|
||||||
if has('termguicolors') && $DISPLAY !=? '' && &t_Co == 256
|
if has('termguicolors') && $DISPLAY !=? '' && &t_Co == 256
|
||||||
set termguicolors " true colors in the terminal
|
set termguicolors " true colors in the terminal
|
||||||
|
let g:jinx_colors = 'night' " night or day, 'T' to change on the fly
|
||||||
try
|
try
|
||||||
let g:jinx_colors = 'night' " night or day, 'T' to change on the fly
|
|
||||||
colorscheme jinx
|
colorscheme jinx
|
||||||
catch
|
catch
|
||||||
colorscheme evening
|
colorscheme evening
|
||||||
@ -52,11 +52,7 @@ if has('termguicolors') && $DISPLAY !=? '' && &t_Co == 256
|
|||||||
let &term = 'xterm-256color'
|
let &term = 'xterm-256color'
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
try
|
colorscheme slate
|
||||||
colorscheme jinx
|
|
||||||
catch
|
|
||||||
colorscheme evening
|
|
||||||
endtry
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" change cursor shape for different editing modes, neovim does this by default
|
" change cursor shape for different editing modes, neovim does this by default
|
||||||
|
Reference in New Issue
Block a user