mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 12:42:57 +08:00
unicode: Fix check for :UnicodeTable buffer
This commit is contained in:
parent
d1f6514cef
commit
21cdbea7e6
|
@ -9,7 +9,7 @@ if !get(g:, 'loaded_unicodePlugin', 0)
|
|||
endif
|
||||
|
||||
function! airline#extensions#unicode#apply(...)
|
||||
if exists(":UnicodeTable") == 2 && bufname('') ==# 'UnicodeTable'
|
||||
if exists(":UnicodeTable") == 2 && bufname('') =~# '/UnicodeTable.txt'
|
||||
call airline#parts#define('unicode', {
|
||||
\ 'text': '[UnicodeTable]',
|
||||
\ 'accent': 'bold' })
|
||||
|
|
Loading…
Reference in New Issue
Block a user