Mercurial > vim
diff runtime/doc/eval.txt @ 18973:bf8eb950df61 v8.2.0047
patch 8.2.0047: cannot skip tests for specific MS-Windows platform
Commit: https://github.com/vim/vim/commit/0c1e3744ff0cd6c17af773046b876b428ff3dded
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 27 13:49:24 2019 +0100
patch 8.2.0047: cannot skip tests for specific MS-Windows platform
Problem: Cannot skip tests for specific MS-Windows platform.
Solution: Add windowsversion().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 27 Dec 2019 14:00:04 +0100 |
parents | 130acb903dbe |
children | e378907d79bf |
line wrap: on
line diff
--- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -10382,6 +10382,13 @@ wincol() The result is a Number, which i 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|.