0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0638: text property highlighting is off by one column

Problem:    Text property highlighting is off by one column. (Bjorn Linse)
Solution:   Update text property highlighting earlier.  Let it overrule syntax
            highlighting.
This commit is contained in:
Bram Moolenaar
2018-12-26 00:25:20 +01:00
parent 4604fbbbff
commit 48f88ac85b
3 changed files with 75 additions and 67 deletions

View File

@@ -705,7 +705,7 @@ typedef struct memline
*/
typedef struct textprop_S
{
colnr_T tp_col; // start column
colnr_T tp_col; // start column (one based)
colnr_T tp_len; // length in bytes
int tp_id; // identifier
int tp_type; // property type