Merge pull request #2545 from rcasta74/vim9script

vim9: Fix boolean check in tabline#formatters#default
This commit is contained in:
Christian Brabandt 2022-06-28 09:13:48 +02:00 committed by GitHub
commit 91b67e3ca2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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