docs(api): vim.version.range():has() method #31622

Problem:
The :has() method of the vim.version.range() result is not documented
though it's mentioned in examples.

Solution:
Mention it in the range() result doc.
This commit is contained in:
Lukasz Piepiora
2024-12-23 14:08:20 +01:00
committed by GitHub
parent adcd9360df
commit 55c5d0de26
2 changed files with 2 additions and 2 deletions

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