mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-02-21 01:45:53 +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…
x
Reference in New Issue
Block a user