commit | b2620202c7778d8c709941fb430eeeeab6e63a6a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Oct 30 19:25:09 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Oct 30 19:25:09 2020 +0100 |
tree | 2a28a6e1cf5b5125b595ab0b0bcfa94bad4c3061 | |
parent | 6d967125ad87b1c2a9467357286c3514d5dd1c40 [diff] [blame] |
patch 8.2.1926: cannot use a space in 'spellfile' Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger) Solution: Permit using a space. (closes #7230)
diff --git a/src/spell.c b/src/spell.c index 085f317..b474a38 100644 --- a/src/spell.c +++ b/src/spell.c
@@ -4340,7 +4340,7 @@ char_u *s; for (s = val; *s != NUL; ++s) - if (!vim_isfilec(*s) && *s != ',') + if (!vim_isfilec(*s) && *s != ',' && *s != ' ') return FALSE; return TRUE; }