aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-11 19:45:22 -0500
committerGitHub <noreply@github.com>2020-12-11 19:45:22 -0500
commit062576f679a1bd5cb546bb8081dc97caefe7b51f (patch)
tree8a5252fd8012036a58ba82bf00d9592ab4880506 /runtime
parenta82bcf9d9cd445dffa5266bb5e2d27a9fcfbe55f (diff)
downloadrneovim-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 'runtime')
-rw-r--r--runtime/doc/eval.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index f306806c96..d04f52de0b 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -9331,6 +9331,13 @@ wincol() The result is a Number, which is the virtual column of the
cursor in the window. This is counting screen cells from the
left side of the window. The leftmost column is one.
+ *windowsversion()*
+windowsversion()
+ The result is a String. For MS-Windows it indicates the OS
+ version. E.g, Windows 10 is "10.0", Windows 8 is "6.2",
+ Windows XP is "5.1". For non-MS-Windows systems the result is
+ an empty string.
+
winheight({nr}) *winheight()*
The result is a Number, which is the height of window {nr}.
{nr} can be the window number or the |window-ID|.