commit | bc49c5f48f89c2d6f4d88ee77f44a11d68293be3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Aug 04 13:01:48 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Aug 04 13:01:48 2022 +0100 |
tree | 810e9e2809e1e8cdfb4cc088ad1127bc141e7bb8 | |
parent | db7a88db8b52508d3df6d5947f7c4f3ef05d5f62 [diff] [blame] |
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'.
diff --git a/src/spell.c b/src/spell.c index 24abce4..8ca9313 100644 --- a/src/spell.c +++ b/src/spell.c
@@ -4363,7 +4363,7 @@ 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; }