diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-10-15 09:40:54 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-15 09:40:54 +0800 |
commit | f25ebc229042d605cde1ba365883657fd0c0e693 (patch) | |
tree | 5fafc5d5aecfc93684d5c83e1263bf6350bf9e8a /test | |
parent | 09e7f19511ebb681497cc15ae08a569fe3a63cdb (diff) | |
download | rneovim-f25ebc229042d605cde1ba365883657fd0c0e693.tar.gz rneovim-f25ebc229042d605cde1ba365883657fd0c0e693.tar.bz2 rneovim-f25ebc229042d605cde1ba365883657fd0c0e693.zip |
vim-patch:9.1.0783: 'spell' option setting has problems (#30818)
Problem: 'spell' option setting has problems
Solution: correctly check for comma for 'spellfile' option,
remove unnecessary checks, refactor slightly (Milly)
closes: vim/vim#15873
https://github.com/vim/vim/commit/322ad0c953b7a3023cd2a65db61d05e180a5d682
Co-authored-by: Milly <milly.ca@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/old/testdir/test_spellfile.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_spellfile.vim b/test/old/testdir/test_spellfile.vim index 48e46641f4..f356b12370 100644 --- a/test/old/testdir/test_spellfile.vim +++ b/test/old/testdir/test_spellfile.vim @@ -1155,7 +1155,7 @@ endfunc " 'spellfile' accepts '@' on top of 'isfname'. func Test_spellfile_allow_at_character() call mkdir('Xtest/the foo@bar,dir', 'p') - let &spellfile = './Xtest/the foo@bar,dir/Xspellfile.add' + let &spellfile = './Xtest/the foo@bar\,dir/Xspellfile.add' let &spellfile = '' call delete('Xtest', 'rf') endfunc |