Merge pull request #34894 from janlazo/vim-8.1.0857

vim-patch:8.1.{770,857,914,977,1004,1526,1551,1565,1584,1629,1641,1703,1728,1730,1736,1802,1853,1891,2127,2200},8.2.3922,9.0.{546,928},9.1.1382
This commit is contained in:
zeertzjq
2025-07-21 12:02:05 +08:00
committed by GitHub
38 changed files with 950 additions and 928 deletions

View File

@@ -772,6 +772,21 @@ vim.v.val = ...
--- @type integer
vim.v.version = ...
--- Like v:version, but also including the patchlevel in the last
--- four digits. Version 8.1 with patch 123 has value 8010123.
--- This can be used like this:
--- ```
--- if v:versionlong >= 8010123
--- ```
---
--- However, if there are gaps in the list of patches included
--- this will not work well. This can happen if a recent patch
--- was included into an older version, e.g. for a security fix.
--- Use the has() function to make sure the patch is actually
--- included.
--- @type integer
vim.v.versionlong = ...
--- 0 during startup, 1 just before `VimEnter`.
--- Read-only.
--- @type integer