diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-11-29 14:11:41 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-11-29 14:11:41 +0100 |
commit | b46f57e87b3706a8c4b97d8e03f7853a7938b061 (patch) | |
tree | a654670ce7f48f3f07cecc71a13959af5c2e5fd7 /src/syntax.c | |
parent | f5452691ba30e33b38c5b06c51ba40b58457d5d8 (diff) | |
download | vim-git-b46f57e87b3706a8c4b97d8e03f7853a7938b061.tar.gz |
patch 8.2.2068: transparent syntax item uses start/end of containing regionv8.2.2068
Problem: Transparent syntax item uses start/end of containing region.
Solution: Do not change the startpos and endpos of a transparent region to
that of its containing region. (Adrian Ghizaru, closes #7349,
closes #7391)
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/syntax.c b/src/syntax.c index f4acc7ed9..890158c60 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -2606,8 +2606,6 @@ update_si_attr(int idx) { sip->si_attr = CUR_STATE(idx - 1).si_attr; sip->si_trans_id = CUR_STATE(idx - 1).si_trans_id; - sip->si_h_startpos = CUR_STATE(idx - 1).si_h_startpos; - sip->si_h_endpos = CUR_STATE(idx - 1).si_h_endpos; if (sip->si_cont_list == NULL) { sip->si_flags |= HL_TRANS_CONT; |