cleanup term extension

This commit is contained in:
Christian Brabandt 2017-09-05 07:23:35 +02:00
parent 0ad4f97c1a
commit 27acd851a7
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
1 changed files with 1 additions and 11 deletions

View File

@ -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