aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_options.lua
diff options
context:
space:
mode:
authorDan Sully <22371+dsully@users.noreply.github.com>2025-02-23 07:51:12 -0800
committerGitHub <noreply@github.com>2025-02-23 07:51:12 -0800
commitb28373638848c0532bea346f48083c7e65f2d8f6 (patch)
tree6758807386a612cfc53a4eb235efae069467aafa /runtime/lua/vim/_options.lua
parent4a0ee22e77d169191e7163d1340b835145f4dac9 (diff)
downloadrneovim-b28373638848c0532bea346f48083c7e65f2d8f6.tar.gz
rneovim-b28373638848c0532bea346f48083c7e65f2d8f6.tar.bz2
rneovim-b28373638848c0532bea346f48083c7e65f2d8f6.zip
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.
Diffstat (limited to 'runtime/lua/vim/_options.lua')
-rw-r--r--runtime/lua/vim/_options.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/lua/vim/_options.lua b/runtime/lua/vim/_options.lua
index 973ad87ee8..e98b95f837 100644
--- a/runtime/lua/vim/_options.lua
+++ b/runtime/lua/vim/_options.lua
@@ -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')