terminal: return proper terminal name

This commit is contained in:
Christian Brabandt
2018-11-20 16:11:34 +01:00
parent f9ccb57e76
commit bc63a60b0f
2 changed files with 12 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ function! airline#extensions#load()
call add(s:loaded_ext, 'netrw')
endif
if has("terminal")
if has("terminal") || has('nvim')
call airline#extensions#term#init(s:ext)
call add(s:loaded_ext, 'term')
endif