diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-11 19:45:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-11 19:45:22 -0500 |
commit | 062576f679a1bd5cb546bb8081dc97caefe7b51f (patch) | |
tree | 8a5252fd8012036a58ba82bf00d9592ab4880506 /src/nvim/testdir | |
parent | a82bcf9d9cd445dffa5266bb5e2d27a9fcfbe55f (diff) | |
download | rneovim-062576f679a1bd5cb546bb8081dc97caefe7b51f.tar.gz rneovim-062576f679a1bd5cb546bb8081dc97caefe7b51f.tar.bz2 rneovim-062576f679a1bd5cb546bb8081dc97caefe7b51f.zip |
vim-patch:8.2.0047: cannot skip tests for specific MS-Windows platform (#13461)
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r-- | src/nvim/testdir/test_options.vim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim index 15c1836c9a..ccc5e6ffc9 100644 --- a/src/nvim/testdir/test_options.vim +++ b/src/nvim/testdir/test_options.vim @@ -348,6 +348,16 @@ func Test_set_values() endif endfunc +func Test_renderoptions() + throw 'skipped: Nvim does not support renderoptions' + " Only do this for Windows Vista and later, fails on Windows XP and earlier. + " Doesn't hurt to do this on a non-Windows system. + if windowsversion() !~ '^[345]\.' + set renderoptions=type:directx + set rop=type:directx + endif +endfunc + func ResetIndentexpr() set indentexpr= endfunc |