mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
480515e442
commit
55ff49b1a7
@ -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:]]\+'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user