diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-04-08 13:24:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-08 13:24:43 +0800 |
commit | c0f46daca5e6b3b5546013e2c3ed87f54fd24b9f (patch) | |
tree | 9fd7761719eb24df79f20febb824adf1185d69be /src/nvim/options.lua | |
parent | 8af9f8ab5ecd59df52aed9019e8ecc9f8101ee7d (diff) | |
parent | 454abde1aa99fde0e50b65a973f0d2eaabd4dc1e (diff) | |
download | rneovim-c0f46daca5e6b3b5546013e2c3ed87f54fd24b9f.tar.gz rneovim-c0f46daca5e6b3b5546013e2c3ed87f54fd24b9f.tar.bz2 rneovim-c0f46daca5e6b3b5546013e2c3ed87f54fd24b9f.zip |
Merge pull request #33381 from zeertzjq/vim-9.1.1283
vim-patch:9.1.{1253,1283,1287}
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index cfd92137d2..e9fa18c98f 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1123,6 +1123,25 @@ local options = { varname = 'p_ccv', }, { + abbreviation = 'chi', + cb = 'did_set_xhistory', + defaults = 10, + desc = [=[ + Number of quickfix lists that should be remembered for the quickfix + stack. Must be between 1 and 100. If the option is set to a value + that is lower than the amount of entries in the quickfix list stack, + entries will be removed starting from the oldest one. If the current + quickfix list was removed, then the quickfix list at top of the stack + (the most recently created) will be used in its place. For additional + info, see |quickfix-stack|. + ]=], + full_name = 'chistory', + scope = { 'global' }, + short_desc = N_('number of quickfix lists stored in history'), + type = 'number', + varname = 'p_chi', + }, + { abbreviation = 'cin', defaults = false, desc = [=[ @@ -5023,6 +5042,24 @@ local options = { varname = 'p_lz', }, { + abbreviation = 'lhi', + cb = 'did_set_xhistory', + defaults = 10, + desc = [=[ + Like 'chistory', but for the location list stack associated with the + current window. If the option is changed in either the location list + window itself or the the window that is associated with the location + list stack, the new value will also be applied to the other one. This + means this value will always be the same for a given location list + window and its corresponding window. See |quickfix-stack| for + additional info. + ]=], + full_name = 'lhistory', + scope = { 'win' }, + short_desc = N_('number of location lists stored in history'), + type = 'number', + }, + { abbreviation = 'lbr', defaults = false, desc = [=[ |