vim-patch:9.0.1672: tabline highlight wrong after truncated double width label (#24223)

Problem:    Tabline highlight wrong after truncated double width label.
Solution:   Fill up half a double width character later. (closes vim/vim#12614)

d392a74c5a
This commit is contained in:
zeertzjq
2023-07-02 07:42:49 +08:00
committed by GitHub
parent db590e96d5
commit bbaee29add
2 changed files with 26 additions and 2 deletions

View File

@@ -475,7 +475,7 @@ static bool can_unload_buffer(buf_T *buf)
/// Possible values:
/// 0 buffer becomes hidden
/// DOBUF_UNLOAD buffer is unloaded
/// DOBUF_DELETE buffer is unloaded and removed from buffer list
/// DOBUF_DEL buffer is unloaded and removed from buffer list
/// DOBUF_WIPE buffer is unloaded and really deleted
/// When doing all but the first one on the current buffer, the
/// caller should get a new buffer very soon!