summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-10 21:47:00 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-10 21:47:00 +0200
commit362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 (patch)
treeb3fa3018fe6a580e84e61b69c13d35aa2c193c59 /src/buffer.c
parentbe5ee8686a50acf07b823bd293f9c765e533d213 (diff)
patch 8.2.0953: spell checking doesn't work for CamelCased wordsv8.2.0953
Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235)
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index df92ecdbd4..66b0050a65 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2287,6 +2287,7 @@ free_buf_options(
vim_regfree(buf->b_s.b_cap_prog);
buf->b_s.b_cap_prog = NULL;
clear_string_option(&buf->b_s.b_p_spl);
+ clear_string_option(&buf->b_s.b_p_spo);
#endif
#ifdef FEAT_SEARCHPATH
clear_string_option(&buf->b_p_sua);