Skip to content

Commit

Permalink
Merge pull request vim-airline#1875 from petobens/master
Browse files Browse the repository at this point in the history
Fix denite extension
  • Loading branch information
chrisbra authored Feb 12, 2019
2 parents d13f335 + ac43d38 commit 7b88d9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/airline/extensions/denite.vim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function! airline#extensions#denite#check_denite_mode(bufnr)
return ''
endif
let mode = split(denite#get_status_mode(), ' ')
let mode = tolower(mode[1])
let mode = tolower(get(mode, 1, ''))
if !exists('b:denite_mode_cache') || mode != b:denite_mode_cache
call airline#highlighter#highlight([mode], a:bufnr)
let b:denite_mode_cache = mode
Expand Down

0 comments on commit 7b88d9d

Please sign in to comment.