From 832aec46d7f785a47c472e6c11beb8a70310aade Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Sun, 21 Aug 2022 17:10:48 +0300 Subject: [PATCH] [vim] revamped somehow broken AirlineTheme command --- vim/vimrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vim/vimrc b/vim/vimrc index 4c1180f..c31f811 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -35,16 +35,16 @@ call plug#end() "Перестать это делать " set term=xterm-256color colorscheme atom-dark-256 -AirlineTheme dark +let g:airline_theme='dark' function ToggleColors() - if (g:colors_name == "atom-dark-256") - colorscheme antiphoton - AirlineTheme light - else - colorscheme atom-dark-256 - AirlineTheme dark - endif + if (g:colors_name == "atom-dark-256") + colorscheme antiphoton + let g:airline_theme='light' + else + colorscheme atom-dark-256 + let g:airline_theme='dark' + endif endfunction nnoremap :call ToggleColors()