summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-04-23 20:42:23 +0000
committerBram Moolenaar <Bram@vim.org>2005-04-23 20:42:23 +0000
commit8fef2ad609c06d0078c630a24cda727f70fca4f5 (patch)
tree4ce5ab7833e4083f538df3de47830031d50705bf /src/buffer.c
parent54ff3419c7836d2668444f9ac893b3722d54d8c4 (diff)
downloadvim-git-8fef2ad609c06d0078c630a24cda727f70fca4f5.tar.gz
updated for version 7.0070
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 993e14d34..977233644 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2390,6 +2390,11 @@ get_winopts(buf)
if (p_fdls >= 0)
curwin->w_p_fdl = p_fdls;
#endif
+
+#ifdef FEAT_SYN_HL
+ if (curwin->w_p_spell && *buf->b_p_spl != NUL)
+ did_set_spelllang(buf);
+#endif
}
/*