diff src/dict.c @ 32872:7a1a9ce831c3 v9.0.1745

patch 9.0.1745: Missing test coverage for blockwise Visual highlight Commit: https://github.com/vim/vim/commit/fc3058495d3ff58c8f2b9dd4452d0840f2d1fa42 Author: zeertzjq <zeertzjq@outlook.com> Date: Sat Aug 19 13:27:03 2023 +0200 patch 9.0.1745: Missing test coverage for blockwise Visual highlight Problem: Missing test coverage for blockwise Visual highlight with virtual that starts with a double-width char. Solution: Add a new virtual text to the test. Some other small fixes. closes: #12835 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: zeertzjq <zeertzjq@outlook.com>
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Aug 2023 13:30:08 +0200
parents 252b06c87796
children aceaf677dd92
line wrap: on
line diff
--- a/src/dict.c
+++ b/src/dict.c
@@ -1497,7 +1497,7 @@ dict2list(typval_T *argvars, typval_T *r
 
     d = argvars[0].vval.v_dict;
     if (d == NULL)
-	// empty dict behaves like an empty dict
+	// NULL dict behaves like an empty dict
 	return;
 
     todo = (int)d->dv_hashtab.ht_used;