mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-21 13:04:54 +02: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
|
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' })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user