forked from aniani/vim
patch 9.0.0138: not enough characters accepted for 'spellfile'
Problem: Not enough characters accepted for 'spellfile'. Solution: Add vim_is_fname_char() and use it for 'spellfile'.
This commit is contained in:
@@ -4363,7 +4363,7 @@ valid_spellfile(char_u *val)
|
||||
char_u *s;
|
||||
|
||||
for (s = val; *s != NUL; ++s)
|
||||
if (!vim_isfilec(*s) && *s != ',' && *s != ' ')
|
||||
if (!vim_is_fname_char(*s))
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user