commit | 711483cd1381a4ed848d783ae0a6792d5b04447b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 30 21:33:46 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 30 21:33:46 2022 +0100 |
tree | 24363d38e2e5767c9594c7396c005d4e1ec31c95 | |
parent | 6747cf1671bd41cddee77c65b3f9a70509f968db [diff] [blame] |
patch 9.0.0116: virtual text not displayed if 'signcolumn' is "yes" Problem: Virtual text not displayed if 'signcolumn' is "yes". Solution: Set c_extra and c_final to NUL.
diff --git a/src/drawline.c b/src/drawline.c index 7b16457..be9ed9d 100644 --- a/src/drawline.c +++ b/src/drawline.c
@@ -1524,6 +1524,8 @@ if (p != NULL) { p_extra = p; + c_extra = NUL; + c_final = NUL; n_extra = (int)STRLEN(p); extra_attr = used_attr; n_attr = n_extra;