fix(lua): @private => @nodoc #32587

Problem:
vim.log.levels.* and vim.opt_local are marked `@private` but they should be `@nodoc`.

Solution:
Fix the annotation.
This commit is contained in:
Dan Sully
2025-02-23 07:51:12 -08:00
committed by GitHub
parent 4a0ee22e77
commit b283736388
2 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ vim._extra = {
inspect_pos = true,
}
--- @private
--- @nodoc
vim.log = {
--- @enum vim.log.levels
levels = {

View File

@ -922,11 +922,11 @@ function Option:prepend(value) end -- luacheck: no unused
---@diagnostic disable-next-line:unused-local used for gen_vimdoc
function Option:remove(value) end -- luacheck: no unused
---@private
--- @nodoc
vim.opt = create_option_accessor()
---@private
--- @nodoc
vim.opt_local = create_option_accessor('local')
---@private
--- @nodoc
vim.opt_global = create_option_accessor('global')