.
This commit is contained in:
+1
-3
@@ -528,10 +528,9 @@ endfunction
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Change bottom airline/lualine theme
|
" Change bottom airline/lualine theme
|
||||||
" Currently only support airline
|
|
||||||
function! SetStatusLineTheme(theme)
|
function! SetStatusLineTheme(theme)
|
||||||
if g:vim_type == 'nvim' && g:vim_version >= 0.5
|
if g:vim_type == 'nvim' && g:vim_version >= 0.5
|
||||||
"execute('AirlineTheme ' . a:theme)
|
" lualine will change theme automatically
|
||||||
else
|
else
|
||||||
if HasPlug('vim-airline') && HasPlug('vim-airline-themes')
|
if HasPlug('vim-airline') && HasPlug('vim-airline-themes')
|
||||||
execute('AirlineTheme ' . a:theme)
|
execute('AirlineTheme ' . a:theme)
|
||||||
@@ -540,7 +539,6 @@ endfunction
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" Fix colorscheme not working correctly under transparent background
|
" Fix colorscheme not working correctly under transparent background
|
||||||
" There is no plugin for this for nvim < 0.5 or vim without lua support
|
|
||||||
function! TransparentBackgroundFix()
|
function! TransparentBackgroundFix()
|
||||||
if !has('nvim') || g:vim_version < 0.5
|
if !has('nvim') || g:vim_version < 0.5
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user