diff src/option.c @ 10420:7a631c6b0a20 v8.0.0104

commit https://github.com/vim/vim/commit/f422bcc7f9615fe91fa69b059cfe4785093d3d4a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 26 17:45:53 2016 +0100 patch 8.0.0104 Problem: Value of 'thesaurus' option not checked properly. Solution: Add P_NDNAME flag. (Daisuke Suzuki)
author Christian Brabandt <cb@256bit.org>
date Sat, 26 Nov 2016 18:00:04 +0100
parents ef5474130b0e
children bc97f64c21c2
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -2660,7 +2660,7 @@ static struct vimoption options[] =
     {"textwidth",   "tw",   P_NUM|P_VI_DEF|P_VIM|P_RBUF,
 			    (char_u *)&p_tw, PV_TW,
 			    {(char_u *)0L, (char_u *)0L} SCRIPTID_INIT},
-    {"thesaurus",   "tsr",  P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP,
+    {"thesaurus",   "tsr",  P_STRING|P_EXPAND|P_VI_DEF|P_ONECOMMA|P_NODUP|P_NDNAME,
 #ifdef FEAT_INS_EXPAND
 			    (char_u *)&p_tsr, PV_TSR,
 #else