summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-23 18:39:37 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-23 18:39:37 +0100
commitf396ce83eebf6c61596184231d39ce4d41eeac04 (patch)
treed3a624411eaea5463025bd186c39616688cc0876 /src/structs.h
parentadce965162dd89bf29ee0e5baf53652e7515762c (diff)
downloadvim-git-f396ce83eebf6c61596184231d39ce4d41eeac04.tar.gz
patch 9.0.0247: cannot add padding to virtual text without highlightv9.0.0247
Problem: Cannot add padding to virtual text without highlight. Solution: Add the "text_padding_left" argument. (issue #10906)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h
index 39c5ef2fc..5b1a5cc93 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -800,7 +800,8 @@ typedef struct memline
typedef struct textprop_S
{
colnr_T tp_col; // start column (one based, in bytes)
- colnr_T tp_len; // length in bytes
+ colnr_T tp_len; // length in bytes, when tp_id is negative used
+ // for left padding plus one
int tp_id; // identifier
int tp_type; // property type
int tp_flags; // TP_FLAG_ values