From bbaee29add9b6911ce0778bd93e21b93e034e548 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sun, 2 Jul 2023 07:42:49 +0800 Subject: 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) https://github.com/vim/vim/commit/d392a74c5a8af8271a33a20d37ae1a8ea422cb4b --- src/nvim/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/buffer.c') diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index e3d375e2df..a07b1c5720 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -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! -- cgit