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 authored and GitHub committed 2025-02-23 07:51:12 -08:00
1 parent 4a0ee22e77
commit b283736388
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ vim._extra = {
inspect_pos = true,
}
--- @private
--- @nodoc
vim.log = {
--- @enum vim.log.levels
levels = {
+3 -3
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')