docs: remove @private from VersionRange:has

This commit is contained in:
Lukasz Piepiora 2024-12-18 12:51:03 +01:00
parent 738320188f
commit 66ea7658a6
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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