diff options
author | vimboss <devnull@localhost> | 2007-08-14 21:07:36 +0000 |
---|---|---|
committer | vimboss <devnull@localhost> | 2007-08-14 21:07:36 +0000 |
commit | 5d141d99d34af8b3430f191502e062b755932752 (patch) | |
tree | bacb71a53008c12c4f0b65c471dea1cba4ad7d25 | |
parent | 126c96f4b370e8cfc9bc648a0dacee71c32f3801 (diff) | |
download | vim-5d141d99d34af8b3430f191502e062b755932752.tar.gz |
-rw-r--r-- | src/syntax.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index c47a6026..2cef9782 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1727,6 +1727,13 @@ get_syntax_attr(col, can_spell) { int attr = 0; + if (can_spell != NULL) + /* Default: Only do spelling when there is no @Spell cluster or when + * ":syn spell toplevel" was used. */ + *can_spell = syn_buf->b_syn_spell == SYNSPL_DEFAULT + ? (syn_buf->b_spell_cluster_id == 0) + : (syn_buf->b_syn_spell == SYNSPL_TOP); + /* check for out of memory situation */ if (syn_buf->b_sst_array == NULL) return 0; diff --git a/src/version.c b/src/version.c index 7ef03376..ad8f6b8b 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 77, +/**/ 76, /**/ 75, |