mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-21 22:42:31 -05:00
Fix lightline when no colorscheme is selected
This commit is contained in:
parent
f97caa57d5
commit
4a9fd65d02
1 changed files with 2 additions and 2 deletions
|
@ -61,8 +61,6 @@ function! TagbarStatusFunc(current, sort, fname, ...) abort
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
let g:lightline = {
|
let g:lightline = {
|
||||||
\ 'colorscheme': 'darkcloud',
|
|
||||||
\
|
|
||||||
\ 'component_function': {
|
\ 'component_function': {
|
||||||
\ 'fugitive': 'LLFugitive',
|
\ 'fugitive': 'LLFugitive',
|
||||||
\ 'filename': 'LLFilename',
|
\ 'filename': 'LLFilename',
|
||||||
|
@ -118,6 +116,8 @@ endif
|
||||||
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
|
let s:p = { 'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {} }
|
||||||
|
|
||||||
if &term != "linux"
|
if &term != "linux"
|
||||||
|
let g:lightline.colorscheme = 'darkcloud'
|
||||||
|
|
||||||
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 ]]
|
||||||
|
|
Loading…
Reference in a new issue