mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 05:05:00 -07:00
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:
parent
bf382df84f
commit
69f5f0e20e
@ -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///gg subst. all subst. one
|
||||
|
||||
DEPRECATED: Setting this option may break plugins that are not aware
|
||||
of this option. Also, many users get confused that adding the /g flag
|
||||
has the opposite effect of that it normally does.
|
||||
NOTE: Setting this option may break plugins that rely on the default
|
||||
behavior of the 'g' flag. This will also make the 'g' flag have the
|
||||
opposite effect of that documented in |:s_g|.
|
||||
|
||||
*'grepformat'* *'gfm'*
|
||||
'grepformat' 'gfm' string (default "%f:%l:%m,%f:%l%m,%f %l%m")
|
||||
|
6
runtime/lua/vim/_meta/options.lua
generated
6
runtime/lua/vim/_meta/options.lua
generated
@ -2595,9 +2595,9 @@ vim.go.fs = vim.go.fsync
|
||||
--- :s///g subst. one subst. all
|
||||
--- :s///gg subst. all subst. one
|
||||
---
|
||||
--- DEPRECATED: Setting this option may break plugins that are not aware
|
||||
--- of this option. Also, many users get confused that adding the /g flag
|
||||
--- has the opposite effect of that it normally does.
|
||||
--- NOTE: Setting this option may break plugins that rely on the default
|
||||
--- behavior of the 'g' flag. This will also make the 'g' flag have the
|
||||
--- opposite effect of that documented in `:s_g`.
|
||||
---
|
||||
--- @type boolean
|
||||
vim.o.gdefault = false
|
||||
|
@ -3350,9 +3350,9 @@ return {
|
||||
:s///g subst. one subst. all
|
||||
:s///gg subst. all subst. one
|
||||
|
||||
DEPRECATED: Setting this option may break plugins that are not aware
|
||||
of this option. Also, many users get confused that adding the /g flag
|
||||
has the opposite effect of that it normally does.
|
||||
NOTE: Setting this option may break plugins that rely on the default
|
||||
behavior of the 'g' flag. This will also make the 'g' flag have the
|
||||
opposite effect of that documented in |:s_g|.
|
||||
]=],
|
||||
full_name = 'gdefault',
|
||||
scope = { 'global' },
|
||||
|
Loading…
Reference in New Issue
Block a user