Mercurial > vim
diff src/structs.h @ 5477:853a76c7fded v7.4.088
updated for version 7.4.088
Problem: When spell checking is enabled Asian characters are always marked
as error.
Solution: When 'spelllang' contains "cjk" do not mark Asian characters as
error. (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 12 Nov 2013 04:44:01 +0100 |
parents | 6367a766027d |
children | beb037a6c270 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -1310,6 +1310,9 @@ typedef struct { regprog_T *b_cap_prog; /* program for 'spellcapcheck' */ char_u *b_p_spf; /* 'spellfile' */ char_u *b_p_spl; /* 'spelllang' */ +# ifdef FEAT_MBYTE + int b_cjk; /* all CJK letters as OK */ +# endif #endif #if !defined(FEAT_SYN_HL) && !defined(FEAT_SPELL) int dummy;