mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
Merge 66ea7658a6
into 02bc40c194
This commit is contained in:
commit
0309afc595
runtime
@ -3998,6 +3998,7 @@ vim.version.range({spec}) *vim.version.range()*
|
||||
(`table?`) A table with the following fields:
|
||||
• {from} (`vim.Version`)
|
||||
• {to}? (`vim.Version`)
|
||||
• {has} (`fun(self: vim.VersionRange, version: string|vim.Version)`)
|
||||
|
||||
See also: ~
|
||||
• https://github.com/npm/node-semver#ranges
|
||||
|
@ -227,8 +227,7 @@ end
|
||||
---@field to? vim.Version
|
||||
local VersionRange = {}
|
||||
|
||||
--- @private
|
||||
---
|
||||
---@nodoc
|
||||
---@param version string|vim.Version
|
||||
function VersionRange:has(version)
|
||||
if type(version) == 'string' then
|
||||
|
Loading…
Reference in New Issue
Block a user