diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-17 12:34:25 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-17 13:48:52 -0400 |
commit | 242af4dc991f12474eb281eb64236922b423cdbe (patch) | |
tree | 54fb8384808b80ed9ec095414fa61b2f3c6cee18 /src/nvim/buffer_defs.h | |
parent | e1ec2b0729d54710b6fbdf17e02d030468dbed15 (diff) | |
download | rneovim-242af4dc991f12474eb281eb64236922b423cdbe.tar.gz rneovim-242af4dc991f12474eb281eb64236922b423cdbe.tar.bz2 rneovim-242af4dc991f12474eb281eb64236922b423cdbe.zip |
vim-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 vim/vim#4761)
https://github.com/vim/vim/commit/c7f1e4002184903f4e12e429dd5c6ab731932f86
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 5e5a20e8f2..1223f2bdab 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -91,6 +91,7 @@ typedef struct { #define BF_READERR 0x40 // got errors while reading the file #define BF_DUMMY 0x80 // dummy buffer, only used internally #define BF_PRESERVED 0x100 // ":preserve" was used +#define BF_SYN_SET 0x200 // 'syntax' option was set // Mask to check for flags that prevent normal writing #define BF_WRITE_MASK (BF_NOTEDITED + BF_NEW + BF_READERR) |