diff options
author | Famiu Haque <famiuhaque@proton.me> | 2024-10-22 22:14:01 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 09:14:01 -0700 |
commit | 07b4cb6ada2da108bbf8277bec63068234ceaa67 (patch) | |
tree | 2c05eaeb18d11ddb767be03a58aaf9a123fa7095 /scripts/gen_eval_files.lua | |
parent | e178331488a0fb6a9c48152511a21a3f95d66750 (diff) | |
download | rneovim-07b4cb6ada2da108bbf8277bec63068234ceaa67.tar.gz rneovim-07b4cb6ada2da108bbf8277bec63068234ceaa67.tar.bz2 rneovim-07b4cb6ada2da108bbf8277bec63068234ceaa67.zip |
docs(options): remove description for hidden options #30903
Problem:
Hidden options are documented despite being no-ops.
Solution:
Remove docs for hidden options.
Move tags for options that we plan to restore, to ":help nvim-missing".
Move tags for permanently removed options, to ":help nvim-removed".
Diffstat (limited to 'scripts/gen_eval_files.lua')
-rwxr-xr-x | scripts/gen_eval_files.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_eval_files.lua b/scripts/gen_eval_files.lua index eb92e10401..2928361695 100755 --- a/scripts/gen_eval_files.lua +++ b/scripts/gen_eval_files.lua @@ -717,7 +717,7 @@ local function get_option_meta() local optinfo = vim.api.nvim_get_all_options_info() local ret = {} --- @type table<string,vim.option_meta> for _, o in ipairs(opts) do - if o.desc then + if not o.immutable and not o.hidden and o.enable_if ~= false and o.desc then if o.full_name == 'cmdheight' then table.insert(o.scope, 'tab') end |