vim9: Fix boolean check in tabline#formatters#default

fixes #2544
This commit is contained in:
Roberto Castagnola 2022-06-27 22:31:28 +02:00
parent 97a9aa4bdb
commit 9bc66119a4

View File

@ -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