diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-30 19:25:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-30 19:25:09 +0100 |
commit | b2620202c7778d8c709941fb430eeeeab6e63a6a (patch) | |
tree | 2a28a6e1cf5b5125b595ab0b0bcfa94bad4c3061 /src/spell.c | |
parent | 6d967125ad87b1c2a9467357286c3514d5dd1c40 (diff) | |
download | vim-git-b2620202c7778d8c709941fb430eeeeab6e63a6a.tar.gz |
patch 8.2.1926: cannot use a space in 'spellfile'v8.2.1926
Problem: Cannot use a space in 'spellfile'. (Filipe Brandenburger)
Solution: Permit using a space. (closes #7230)
Diffstat (limited to 'src/spell.c')
-rw-r--r-- | src/spell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c index 085f3177c..b474a38b3 100644 --- a/src/spell.c +++ b/src/spell.c @@ -4340,7 +4340,7 @@ valid_spellfile(char_u *val) char_u *s; for (s = val; *s != NUL; ++s) - if (!vim_isfilec(*s) && *s != ',') + if (!vim_isfilec(*s) && *s != ',' && *s != ' ') return FALSE; return TRUE; } |