diff --git a/autoload/airline/extensions/term.vim b/autoload/airline/extensions/term.vim index 705b1ef..d9fd180 100644 --- a/autoload/airline/extensions/term.vim +++ b/autoload/airline/extensions/term.vim @@ -1,4 +1,4 @@ -" MIT License. +" MIT License. " vim: et ts=2 sts=2 sw=2 scriptencoding utf-8 @@ -13,17 +13,7 @@ function! airline#extensions#term#apply(...) call a:1.split() call a:1.add_section('airline_y', '') call a:1.add_section('airline_z', spc.airline#section#create_right(['linenr', 'maxlinenr'])) - redraw! return 1 - "let w:airline_section_b = '' - "let w:airline_section_x = '' - " Here we define a new part for the plugin. This allows users to place this - " extension in arbitrary locations. - "call airline#parts#define_raw('term', '%{airline#extensions#term#get_highlight()}') - - " Next up we add a funcref so that we can run some code prior to the - " statusline getting modifed. - "call a:ext.add_statusline_func('airline#extensions#term#apply') endif endfunction