Add a terminal statusline function for vim

This commit is contained in:
Christian Brabandt
2017-08-22 15:30:15 +02:00
parent bd613e69b6
commit 0ad4f97c1a
4 changed files with 44 additions and 1 deletions
+5
View File
@@ -153,6 +153,11 @@ function! airline#extensions#load()
call add(loaded_ext, 'netrw')
endif
if has("terminal")
call airline#extensions#term#init(s:ext)
call add(loaded_ext, 'term')
endif
if get(g:, 'airline#extensions#ycm#enabled', 0)
call airline#extensions#ycm#init(s:ext)
call add(loaded_ext, 'ycm')