DervishD wrote:
> I've found a bug in Vim 7.0 (doesn't seem to be mentioned in any
> patch up and including 188.
>
> When I issue "syntax spell default", it results in the following
> error: "E390: Illegal argument: default". I've took a look at the help
> for E390 and it seems to be an error for "syntax case", not "syntax
> spell". So I looked at the sources and I found this at src/spell.c, line
> 3190 (as Vim 7.0 unpatched):
>
> ...STRNICMP(arg, "default", 4) == 0 && next - arg == 4...
>
> Yes, "syntax spell defa" is successfull. That "4" should be replaced
> by "7".
Good catch. Strange that nobody noticed yet. I'll make a patch.
--
I started out with nothing, and I still have most of it.
-- Michael Davis -- "Tonight Show"
/// 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///