comparison src/optiondefs.h @ 20802:ed00f0fbdaef v8.2.0953

patch 8.2.0953: spell checking doesn't work for CamelCased words Commit: https://github.com/vim/vim/commit/362b44bd4aa87a2aef0f8fd5a28d68dd09a7d909 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 10 21:47:00 2020 +0200 patch 8.2.0953: spell checking doesn't work for CamelCased words Problem: Spell checking doesn't work for CamelCased words. Solution: Add the "camel" value in the new option 'spelloptions'. (closes #1235)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Jun 2020 22:00:04 +0200
parents d6827bd31d1d
children 35921b7fc07a
comparison
equal deleted inserted replaced
20801:f69512e0cedc 20802:ed00f0fbdaef
127 #endif 127 #endif
128 #ifdef FEAT_SPELL 128 #ifdef FEAT_SPELL
129 # define PV_SPC OPT_BUF(BV_SPC) 129 # define PV_SPC OPT_BUF(BV_SPC)
130 # define PV_SPF OPT_BUF(BV_SPF) 130 # define PV_SPF OPT_BUF(BV_SPF)
131 # define PV_SPL OPT_BUF(BV_SPL) 131 # define PV_SPL OPT_BUF(BV_SPL)
132 # define PV_SPO OPT_BUF(BV_SPO)
132 #endif 133 #endif
133 #define PV_STS OPT_BUF(BV_STS) 134 #define PV_STS OPT_BUF(BV_STS)
134 #ifdef FEAT_SEARCHPATH 135 #ifdef FEAT_SEARCHPATH
135 # define PV_SUA OPT_BUF(BV_SUA) 136 # define PV_SUA OPT_BUF(BV_SUA)
136 #endif 137 #endif
2391 {"spelllang", "spl", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA 2392 {"spelllang", "spl", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA
2392 |P_RBUF|P_EXPAND, 2393 |P_RBUF|P_EXPAND,
2393 #ifdef FEAT_SPELL 2394 #ifdef FEAT_SPELL
2394 (char_u *)&p_spl, PV_SPL, 2395 (char_u *)&p_spl, PV_SPL,
2395 {(char_u *)"en", (char_u *)0L} 2396 {(char_u *)"en", (char_u *)0L}
2397 #else
2398 (char_u *)NULL, PV_NONE,
2399 {(char_u *)0L, (char_u *)0L}
2400 #endif
2401 SCTX_INIT},
2402 {"spelloptions", "spo", P_STRING|P_ALLOCED|P_VI_DEF
2403 |P_ONECOMMA|P_NODUP|P_RBUF,
2404 #ifdef FEAT_SPELL
2405 (char_u *)&p_spo, PV_SPO,
2406 {(char_u *)"", (char_u *)0L}
2396 #else 2407 #else
2397 (char_u *)NULL, PV_NONE, 2408 (char_u *)NULL, PV_NONE,
2398 {(char_u *)0L, (char_u *)0L} 2409 {(char_u *)0L, (char_u *)0L}
2399 #endif 2410 #endif
2400 SCTX_INIT}, 2411 SCTX_INIT},