vim-patch:82f19734bfcb

runtime(doc): remove deprecation warning for gdefault

Deprecated can be misunderstood as being slated for removal; slightly
change wording to be clearer.

82f19734bf

Co-authored-by: dundargoc <gocdundar@gmail.com>
This commit is contained in:
Christian Clason 2023-12-16 15:03:22 +01:00
parent bf382df84f
commit 69f5f0e20e
3 changed files with 9 additions and 9 deletions

View File

@ -2831,9 +2831,9 @@ A jump table for the options with a short description can be found at |Q_op|.
:s///g subst. one subst. all :s///g subst. one subst. all
:s///gg subst. all subst. one :s///gg subst. all subst. one
DEPRECATED: Setting this option may break plugins that are not aware NOTE: Setting this option may break plugins that rely on the default
of this option. Also, many users get confused that adding the /g flag behavior of the 'g' flag. This will also make the 'g' flag have the
has the opposite effect of that it normally does. opposite effect of that documented in |:s_g|.
*'grepformat'* *'gfm'* *'grepformat'* *'gfm'*
'grepformat' 'gfm' string (default "%f:%l:%m,%f:%l%m,%f %l%m") 'grepformat' 'gfm' string (default "%f:%l:%m,%f:%l%m,%f %l%m")

View File

@ -2595,9 +2595,9 @@ vim.go.fs = vim.go.fsync
--- :s///g subst. one subst. all --- :s///g subst. one subst. all
--- :s///gg subst. all subst. one --- :s///gg subst. all subst. one
--- ---
--- DEPRECATED: Setting this option may break plugins that are not aware --- NOTE: Setting this option may break plugins that rely on the default
--- of this option. Also, many users get confused that adding the /g flag --- behavior of the 'g' flag. This will also make the 'g' flag have the
--- has the opposite effect of that it normally does. --- opposite effect of that documented in `:s_g`.
--- ---
--- @type boolean --- @type boolean
vim.o.gdefault = false vim.o.gdefault = false

View File

@ -3350,9 +3350,9 @@ return {
:s///g subst. one subst. all :s///g subst. one subst. all
:s///gg subst. all subst. one :s///gg subst. all subst. one
DEPRECATED: Setting this option may break plugins that are not aware NOTE: Setting this option may break plugins that rely on the default
of this option. Also, many users get confused that adding the /g flag behavior of the 'g' flag. This will also make the 'g' flag have the
has the opposite effect of that it normally does. opposite effect of that documented in |:s_g|.
]=], ]=],
full_name = 'gdefault', full_name = 'gdefault',
scope = { 'global' }, scope = { 'global' },