[vim] revamped somehow broken AirlineTheme command
This commit is contained in:
@@ -35,15 +35,15 @@ call plug#end() "Перестать это делать
|
|||||||
"
|
"
|
||||||
set term=xterm-256color
|
set term=xterm-256color
|
||||||
colorscheme atom-dark-256
|
colorscheme atom-dark-256
|
||||||
AirlineTheme dark
|
let g:airline_theme='dark'
|
||||||
|
|
||||||
function ToggleColors()
|
function ToggleColors()
|
||||||
if (g:colors_name == "atom-dark-256")
|
if (g:colors_name == "atom-dark-256")
|
||||||
colorscheme antiphoton
|
colorscheme antiphoton
|
||||||
AirlineTheme light
|
let g:airline_theme='light'
|
||||||
else
|
else
|
||||||
colorscheme atom-dark-256
|
colorscheme atom-dark-256
|
||||||
AirlineTheme dark
|
let g:airline_theme='dark'
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user