terminal: do not reset airline theme on TerminalOpen
remove autocommand, that would overwrite the airline theme on :term (e.g. After a :AirlineTheme monochrome and then using `:term` the autocommand would reset the theme back to the one given in the .vimrc)
This commit is contained in:
parent
cd0b15b195
commit
49671d0a11
|
@ -102,9 +102,6 @@ function! s:airline_toggle()
|
|||
" Make sure that g_airline_gui_mode is refreshed
|
||||
autocmd OptionSet termguicolors call <sid>on_colorscheme_changed()
|
||||
endif
|
||||
if exists("##TerminalOpen")
|
||||
autocmd TerminalOpen * call <sid>on_colorscheme_changed()
|
||||
endif
|
||||
" Set all statuslines to inactive
|
||||
autocmd FocusLost * call airline#update_statusline_focuslost()
|
||||
" Refresh airline for :syntax off
|
||||
|
|
Loading…
Reference in New Issue