mirror of
https://github.com/neovim/neovim.git
synced 2025-12-06 22:52:42 +00:00
docs(lua): more improvements (#24387)
* docs(lua): teach lua2dox how to table * docs(lua): teach gen_vimdoc.py about local functions No more need to mark local functions with @private * docs(lua): mention @nodoc and @meta in dev-lua-doc * fixup! Co-authored-by: Justin M. Keyes <justinkz@gmail.com> --------- Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
@@ -65,8 +65,6 @@ local M = {}
|
||||
local Version = {}
|
||||
Version.__index = Version
|
||||
|
||||
--- @private
|
||||
---
|
||||
--- Compares prerelease strings: per semver, number parts must be must be treated as numbers:
|
||||
--- "pre1.10" is greater than "pre1.2". https://semver.org/#spec-item-11
|
||||
local function cmp_prerel(prerel1, prerel2)
|
||||
@@ -332,7 +330,6 @@ function M.range(spec) -- Adapted from https://github.com/folke/lazy.nvim
|
||||
end
|
||||
end
|
||||
|
||||
---@private
|
||||
---@param v string|Version
|
||||
---@return string
|
||||
local function create_err_msg(v)
|
||||
|
||||
Reference in New Issue
Block a user