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)
470adb827f
This commit is contained in:
Jan Edmund Lazo
2020-07-20 20:22:00 -04:00
parent 480515e442
commit 55ff49b1a7

View File

@@ -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:]]\+'))