diff --git a/autoload/airline/extensions/tabline/formatters/default.vim b/autoload/airline/extensions/tabline/formatters/default.vim index 428be7b4..7cdb7c4c 100644 --- a/autoload/airline/extensions/tabline/formatters/default.vim +++ b/autoload/airline/extensions/tabline/formatters/default.vim @@ -77,7 +77,7 @@ else var result = buf_nr_show ? printf(buf_nr_format, bufnr) : '' result ..= substitute(buffer_name, '\\', '/', 'g') - if getbufvar(bufnr, '&modified') == 1 + if getbufvar(bufnr, '&modified') result ..= g:airline_symbols.modified endif return result