aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-07-20 20:22:00 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-08-02 11:59:59 -0400
commit55ff49b1a79d557848cb9c156a913538a876ddc6 (patch)
tree732e8508d898381678c39dbe04bd805afac12dd2 /src
parent480515e4426865c37a42a452432b3463f0ab40a7 (diff)
downloadrneovim-55ff49b1a79d557848cb9c156a913538a876ddc6.tar.gz
rneovim-55ff49b1a79d557848cb9c156a913538a876ddc6.tar.bz2
rneovim-55ff49b1a79d557848cb9c156a913538a876ddc6.zip
vim-patch:8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wrongly
Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly. Solution: Override the 'iskeyword' value. (Taro Muraoka, closes vim/vim#6502) https://github.com/vim/vim/commit/470adb827f3d9e6cf62f685738d2db216daf3738
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_regexp_utf8.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_regexp_utf8.vim b/src/nvim/testdir/test_regexp_utf8.vim
index f48458566b..cfd3d2a48e 100644
--- a/src/nvim/testdir/test_regexp_utf8.vim
+++ b/src/nvim/testdir/test_regexp_utf8.vim
@@ -32,6 +32,9 @@ func Test_equivalence_re2()
endfunc
func s:classes_test()
+ if has('win32')
+ set iskeyword=@,48-57,_,192-255
+ endif
set isprint=@,161-255
call assert_equal('Motörhead', matchstr('Motörhead', '[[:print:]]\+'))