mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 23:06:38 -05:00
Don't apply the colorscheme in a vterm
This commit is contained in:
parent
05f8ed6013
commit
f97caa57d5
2 changed files with 23 additions and 19 deletions
|
@ -117,22 +117,24 @@ endif
|
||||||
"ligtline theme {{{
|
"ligtline theme {{{
|
||||||
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
|
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
|
||||||
|
|
||||||
let s:p.normal.left = [[ g:cBlue, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ]]
|
if &term != "linux"
|
||||||
let s:p.inactive.left = [[ g:cLightGrayFg, g:cDarkGrayBg ], [ g:cLightGrayFg, g:cLightGrayBg ]]
|
let s:p.normal.left = [[ g:cBlue, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ]]
|
||||||
let s:p.normal.right = [[ g:cLightText, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
let s:p.inactive.left = [[ g:cLightGrayFg, g:cDarkGrayBg ], [ g:cLightGrayFg, g:cLightGrayBg ]]
|
||||||
let s:p.inactive.right = [[ g:cLightGrayFg, g:cDarkGrayBg ], [ g:cLightGrayFg, g:cLightGrayBg ], [ g:cLightGrayFg, g:cDarkGrayBg ]]
|
let s:p.normal.right = [[ g:cLightText, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
||||||
|
let s:p.inactive.right = [[ g:cLightGrayFg, g:cDarkGrayBg ], [ g:cLightGrayFg, g:cLightGrayBg ], [ g:cLightGrayFg, g:cDarkGrayBg ]]
|
||||||
|
|
||||||
let s:p.insert.left = [[ g:cRed, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
let s:p.insert.left = [[ g:cRed, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
||||||
let s:p.replace.left = [[ g:cLightGrayBg, g:cRed ], [ g:cLightText, g:cDarkGrayBg ]]
|
let s:p.replace.left = [[ g:cLightGrayBg, g:cRed ], [ g:cLightText, g:cDarkGrayBg ]]
|
||||||
let s:p.visual.left = [[ g:cYellow, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
let s:p.visual.left = [[ g:cYellow, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
||||||
|
|
||||||
let s:p.normal.middle = [[ g:cLightText, g:cLightGrayBg ]]
|
let s:p.normal.middle = [[ g:cLightText, g:cLightGrayBg ]]
|
||||||
let s:p.tabline.left = [[ g:cLightText, g:cDarkGrayBg ]]
|
let s:p.tabline.left = [[ g:cLightText, g:cDarkGrayBg ]]
|
||||||
let s:p.tabline.tabsel = [[ g:cLightText, g:cLightGrayBg ]]
|
let s:p.tabline.tabsel = [[ g:cLightText, g:cLightGrayBg ]]
|
||||||
let s:p.tabline.middle = [[ g:cDarkGrayBg, g:cGray ]]
|
let s:p.tabline.middle = [[ g:cDarkGrayBg, g:cGray ]]
|
||||||
let s:p.tabline.right = copy(s:p.normal.right)
|
let s:p.tabline.right = copy(s:p.normal.right)
|
||||||
let s:p.normal.error = [[ g:cRed, g:cLightGrayBg ]]
|
let s:p.normal.error = [[ g:cRed, g:cLightGrayBg ]]
|
||||||
let s:p.normal.warning = [[ g:cYellow, g:cLightGrayBg ]]
|
let s:p.normal.warning = [[ g:cYellow, g:cLightGrayBg ]]
|
||||||
|
|
||||||
let g:lightline#colorscheme#darkcloud#palette = lightline#colorscheme#fill(s:p)
|
let g:lightline#colorscheme#darkcloud#palette = lightline#colorscheme#fill(s:p)
|
||||||
|
endif
|
||||||
"}}}
|
"}}}
|
||||||
|
|
10
vimrc
10
vimrc
|
@ -29,11 +29,13 @@
|
||||||
let &runtimepath = printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath)
|
let &runtimepath = printf('%s,%s/vim,%s/vim/after',&runtimepath,g:darkcloudpath,g:darkcloudpath)
|
||||||
|
|
||||||
"Load Colours
|
"Load Colours
|
||||||
runtime colors/palette.vim
|
if &term != "linux"
|
||||||
|
runtime colors/palette.vim
|
||||||
|
|
||||||
"Load Colour Scheme:
|
"Load Colour Scheme:
|
||||||
colorscheme default "hack to fix vimrc colorschemes in some versions of vim
|
colorscheme default "hack to fix vimrc colorschemes in some versions of vim
|
||||||
colorscheme darkcloud
|
colorscheme darkcloud
|
||||||
|
endif
|
||||||
|
|
||||||
"Load Settings:
|
"Load Settings:
|
||||||
runtime config/settings.vim
|
runtime config/settings.vim
|
||||||
|
|
Loading…
Reference in a new issue