mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 06:44:09 -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,6 +117,7 @@ endif
|
||||||
"ligtline theme {{{
|
"ligtline theme {{{
|
||||||
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
|
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
|
||||||
|
|
||||||
|
if &term != "linux"
|
||||||
let s:p.normal.left = [[ g:cBlue, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ]]
|
let s:p.normal.left = [[ g:cBlue, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ]]
|
||||||
let s:p.inactive.left = [[ g:cLightGrayFg, g:cDarkGrayBg ], [ g:cLightGrayFg, g:cLightGrayBg ]]
|
let s:p.inactive.left = [[ g:cLightGrayFg, g:cDarkGrayBg ], [ g:cLightGrayFg, g:cLightGrayBg ]]
|
||||||
let s:p.normal.right = [[ g:cLightText, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
let s:p.normal.right = [[ g:cLightText, g:cDarkGrayBg ], [ g:cLightText, g:cLightGrayBg ], [ g:cLightText, g:cDarkGrayBg ]]
|
||||||
|
@ -135,4 +136,5 @@ endif
|
||||||
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
|
||||||
"}}}
|
"}}}
|
||||||
|
|
2
vimrc
2
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
|
||||||
|
if &term != "linux"
|
||||||
runtime colors/palette.vim
|
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