aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/version.lua
diff options
context:
space:
mode:
authorLukasz Piepiora <lpiepiora@gmail.com>2024-12-23 14:08:20 +0100
committerGitHub <noreply@github.com>2024-12-23 05:08:20 -0800
commit55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4 (patch)
tree03ebc5582efdaca8a72f8c189993f3070f552319 /runtime/lua/vim/version.lua
parentadcd9360dfefc7b1e1edb0e86df460e074991c8d (diff)
downloadrneovim-55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4.tar.gz
rneovim-55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4.tar.bz2
rneovim-55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4.zip
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.
Diffstat (limited to 'runtime/lua/vim/version.lua')
-rw-r--r--runtime/lua/vim/version.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/version.lua b/runtime/lua/vim/version.lua
index d64ef98d2d..06c54ac033 100644
--- a/runtime/lua/vim/version.lua
+++ b/runtime/lua/vim/version.lua
@@ -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