aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-26 10:21:28 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-01-26 17:38:31 -0500
commitad272cd2d7ac6c9d28c2981169b779e146cbb5d6 (patch)
treecfd13e38d2e4503b4194b434b94fa2d6e0646d2e /src/nvim/testdir
parent08c5a874ab97d52e215025ccd010d68fcdf14731 (diff)
downloadrneovim-ad272cd2d7ac6c9d28c2981169b779e146cbb5d6.tar.gz
rneovim-ad272cd2d7ac6c9d28c2981169b779e146cbb5d6.tar.bz2
rneovim-ad272cd2d7ac6c9d28c2981169b779e146cbb5d6.zip
vim-patch:8.1.1144: too strict checking of the 'spellfile' option
Problem: Too strict checking of the 'spellfile' option. Solution: Allow for a path. https://github.com/vim/vim/commit/862f1e17eaf2b9c6617dfba31d8487cde462658d
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_spell.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_spell.vim b/src/nvim/testdir/test_spell.vim
index 098cd957ae..94789d6ea3 100644
--- a/src/nvim/testdir/test_spell.vim
+++ b/src/nvim/testdir/test_spell.vim
@@ -392,6 +392,11 @@ func Test_zz_sal_and_addition()
call assert_equal("elekwint", SecondSpellWord())
endfunc
+func Test_spellfile_value()
+ set spellfile=Xdir/Xtest.latin1.add
+ set spellfile=Xdir/Xtest.utf-8.add,Xtest_other.add
+endfunc
+
func Test_region_error()
messages clear
call writefile(["/regions=usgbnz", "elequint/0"], "Xtest.latin1.add")