mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-06 12:14:24 +08:00
unicode: Fix check for :UnicodeTable buffer
This commit is contained in:
committed by
Christian Brabandt
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' })
|
||||
|
||||
Reference in New Issue
Block a user