diff options
author | Lukasz Piepiora <lpiepiora@gmail.com> | 2024-12-23 14:08:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-23 05:08:20 -0800 |
commit | 55c5d0de262b8a9eb03a65f6e6f45e8d26213eb4 (patch) | |
tree | 03ebc5582efdaca8a72f8c189993f3070f552319 /runtime/doc/lua.txt | |
parent | adcd9360dfefc7b1e1edb0e86df460e074991c8d (diff) | |
download | rneovim-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/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt index dad3d92238..711607d14b 100644 --- a/runtime/doc/lua.txt +++ b/runtime/doc/lua.txt @@ -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 |