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

@@ -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