diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-11-01 12:03:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 12:03:56 -0500 |
commit | ba1ff710782960a1be6ebe7342bb26a556f300fa (patch) | |
tree | d9b39f3166041780ba44c174a363f6e111dc483a /src/nvim/option.c | |
parent | 8821587748058ee1ad8523865b30a03582f8d7be (diff) | |
parent | 057e21b1e771e164346dd1723dbaf539e002270c (diff) | |
download | rneovim-ba1ff710782960a1be6ebe7342bb26a556f300fa.tar.gz rneovim-ba1ff710782960a1be6ebe7342bb26a556f300fa.tar.bz2 rneovim-ba1ff710782960a1be6ebe7342bb26a556f300fa.zip |
Merge pull request #13197 from janlazo/vim-8.2.1925
vim-patch:8.2.{639,666,1925,1926,1929,1932}
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r-- | src/nvim/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c index d5ea358184..c112dc86d4 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -2566,7 +2566,7 @@ static bool valid_spellfile(const char_u *val) FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE FUNC_ATTR_WARN_UNUSED_RESULT { for (const char_u *s = val; *s != NUL; s++) { - if (!vim_isfilec(*s) && *s != ',') { + if (!vim_isfilec(*s) && *s != ',' && *s != ' ') { return false; } } |