mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 17:58:18 +00:00
vim-patch:8.2.2068: transparent syntax item uses start/end of containing region (#19055)
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 vim/vim#7349,
closes vim/vim#7391)
b46f57e87b
This commit is contained in:
@@ -2381,8 +2381,6 @@ static void update_si_attr(int idx)
|
||||
} else {
|
||||
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;
|
||||
sip->si_cont_list = CUR_STATE(idx - 1).si_cont_list;
|
||||
|
Reference in New Issue
Block a user