diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-04 13:01:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-04 13:01:48 +0100 |
commit | bc49c5f48f89c2d6f4d88ee77f44a11d68293be3 (patch) | |
tree | 810e9e2809e1e8cdfb4cc088ad1127bc141e7bb8 /src/spell.c | |
parent | db7a88db8b52508d3df6d5947f7c4f3ef05d5f62 (diff) | |
download | vim-git-bc49c5f48f89c2d6f4d88ee77f44a11d68293be3.tar.gz |
patch 9.0.0138: not enough characters accepted for 'spellfile'v9.0.0138
Problem: Not enough characters accepted for 'spellfile'.
Solution: Add vim_is_fname_char() and use it for 'spellfile'.
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 24abce462..8ca9313a3 100644 --- a/src/spell.c +++ b/src/spell.c @@ -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; } |