forked from aniani/vim
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)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user