mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-23 06:13:40 +08:00
term: Make terminal extension work on entering it
does not work with Neovim since TermOpen is not used (see #1828 for the bug)
This commit is contained in:
parent
73b4e4233c
commit
63a75aca2a
|
@ -4,7 +4,7 @@
|
|||
scriptencoding utf-8
|
||||
|
||||
function! airline#extensions#term#apply(...)
|
||||
if &buftype == 'terminal'
|
||||
if &buftype == 'terminal' || bufname('%')[0] == '!'
|
||||
let spc = g:airline_symbols.space
|
||||
|
||||
let name=get(g:airline_mode_map, 't', 't')
|
||||
|
|
Loading…
Reference in New Issue
Block a user