diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-18 22:41:03 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-18 22:41:03 +0200 |
commit | 06f1ed2f78c5c03af95054fc3a8665df39dec362 (patch) | |
tree | 413bd7310eafa3df68daf706d304ce4ae452b311 /src/structs.h | |
parent | 0946326580e6f034fe2c88d041407ea0fde980ab (diff) | |
download | vim-git-06f1ed2f78c5c03af95054fc3a8665df39dec362.tar.gz |
patch 8.0.0647: syntax highlighting can make cause a freezev8.0.0647
Problem: Syntax highlighting can make cause a freeze.
Solution: Apply 'redrawtime' to syntax highlighting, per window.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index d79b2253f..c7aa8f2eb 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1797,6 +1797,9 @@ typedef struct { hashtab_T b_keywtab; /* syntax keywords hash table */ hashtab_T b_keywtab_ic; /* idem, ignore case */ int b_syn_error; /* TRUE when error occurred in HL */ +# ifdef FEAT_RELTIME + int b_syn_slow; /* TRUE when 'redrawtime' reached */ +# endif int b_syn_ic; /* ignore case for :syn cmds */ int b_syn_spell; /* SYNSPL_ values */ garray_T b_syn_patterns; /* table for syntax patterns */ |