summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-03-20 22:37:15 +0000
committerBram Moolenaar <Bram@vim.org>2005-03-20 22:37:15 +0000
commit217ad920dd665ae74e055d870bfa05f73a20c2c8 (patch)
treec2fd40f30f58bee82ac2a42790c9042d4aabf505 /src/structs.h
parent2e4096b0775518cabcd9e295cf1d96b211699135 (diff)
downloadvim-git-217ad920dd665ae74e055d870bfa05f73a20c2c8.tar.gz
updated for version 7.0062
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index 03379ad4d..78f292944 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -189,6 +189,10 @@ typedef struct
#endif
long wo_scr;
#define w_p_scr w_onebuf_opt.wo_scr /* 'scroll' */
+#ifdef FEAT_SYN_HL
+ int wo_spell;
+#define w_p_spell w_onebuf_opt.wo_spell /* 'spell' */
+#endif
#ifdef FEAT_STL_OPT
char_u *wo_stl;
#define w_p_stl w_onebuf_opt.wo_stl /* 'statusline' */
@@ -1337,6 +1341,7 @@ struct file_buffer
int b_p_swf; /* 'swapfile' */
#ifdef FEAT_SYN_HL
char_u *b_p_syn; /* 'syntax' */
+ char_u *b_p_spl; /* 'spelllang' */
#endif
long b_p_ts; /* 'tabstop' */
int b_p_tx; /* 'textmode' */
@@ -1418,6 +1423,7 @@ struct file_buffer
int b_syn_ic; /* ignore case for :syn cmds */
garray_T b_syn_patterns; /* table for syntax patterns */
garray_T b_syn_clusters; /* table for syntax clusters */
+ int b_spell_cluster_id; /* @Spell cluster ID or 0 */
int b_syn_containedin; /* TRUE when there is an item with a
"containedin" argument */
int b_syn_sync_flags; /* flags about how to sync */
@@ -1454,6 +1460,10 @@ struct file_buffer
int b_sst_freecount;
linenr_T b_sst_check_lnum;
short_u b_sst_lasttick; /* last display tick */
+
+ /* for spell checking */
+ garray_T b_langp; /* list of pointers to slang_T, see spell.c */
+
#endif /* FEAT_SYN_HL */
#ifdef FEAT_SIGNS