mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 8.1.1795: no syntax HL after splitting windows with :bufdo
Problem: No syntax HL after splitting windows with :bufdo. (Yasuhiro Matsumoto) Solution: Trigger Syntax autocommands in buffers that are active. (closes #4761)
This commit is contained in:
@@ -7931,6 +7931,7 @@ did_set_string_option(
|
||||
// recursively, to avoid endless recurrence.
|
||||
apply_autocmds(EVENT_SYNTAX, curbuf->b_p_syn, curbuf->b_fname,
|
||||
value_changed || syn_recursive == 1, curbuf);
|
||||
curbuf->b_flags |= BF_SYN_SET;
|
||||
--syn_recursive;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user