mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-26 23:44:30 +02:00
parent
97a9aa4bdb
commit
9bc66119a4
@ -77,7 +77,7 @@ else
|
|||||||
var result = buf_nr_show ? printf(buf_nr_format, bufnr) : ''
|
var result = buf_nr_show ? printf(buf_nr_format, bufnr) : ''
|
||||||
result ..= substitute(buffer_name, '\\', '/', 'g')
|
result ..= substitute(buffer_name, '\\', '/', 'g')
|
||||||
|
|
||||||
if getbufvar(bufnr, '&modified') == 1
|
if getbufvar(bufnr, '&modified')
|
||||||
result ..= g:airline_symbols.modified
|
result ..= g:airline_symbols.modified
|
||||||
endif
|
endif
|
||||||
return result
|
return result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user