parent
846d85aaa1
commit
d54613d2dd
@ -150,7 +150,7 @@ function! airline#check_mode(winnr)
|
|||||||
|
|
||||||
let context = s:contexts[a:winnr]
|
let context = s:contexts[a:winnr]
|
||||||
let is_term = 0
|
let is_term = 0
|
||||||
if has("terminal")
|
if exists("*term_list")
|
||||||
let is_term = index(term_list(), bufnr('')) > -1
|
let is_term = index(term_list(), bufnr('')) > -1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user