mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-12-07 04:34:26 +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
|
endif
|
||||||
|
|
||||||
function! airline#extensions#unicode#apply(...)
|
function! airline#extensions#unicode#apply(...)
|
||||||
if exists(":UnicodeTable") == 2 && bufname('') ==# 'UnicodeTable'
|
if exists(":UnicodeTable") == 2 && bufname('') =~# '/UnicodeTable.txt'
|
||||||
call airline#parts#define('unicode', {
|
call airline#parts#define('unicode', {
|
||||||
\ 'text': '[UnicodeTable]',
|
\ 'text': '[UnicodeTable]',
|
||||||
\ 'accent': 'bold' })
|
\ 'accent': 'bold' })
|
||||||
|
|||||||
Reference in New Issue
Block a user