Suresh Govindachar wrote:

>   Bugs with set += and with set -= for spellsuggest.
> 
>   1) When :set spellsuggest? showed "best", 
>      the following generates E474 error
> 
>         :set spellsuggest+=10 
> 
>   :set spellsuggest=best,10 was accepted 
>   and did work (tested with z=).  
> 
>   2) However, then doing set spellsuggest-=10 
>      resulted in spellsuggest having the value
>      "best," -- the trailing , was not removed.

That is simple to fix.  Unfortunately you just missed the Vim 7 release.

--- option.c    3 May 2006 21:26:04 -0000       1.111
+++ option.c    7 May 2006 15:53:56 -0000
@@ -2294,7 +2294,7 @@
                            {(char_u *)0L, (char_u *)0L}
 #endif
                            },
-    {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE,
+    {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE|P_COMMA,
 #ifdef FEAT_SPELL
                            (char_u *)&p_sps, PV_NONE,
                            {(char_u *)"best", (char_u *)0L}

-- 
Seen it all, done it all, can't remember most of it.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to