diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-12-16 15:03:22 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-12-16 15:57:22 +0100 |
commit | 69f5f0e20e81ef3b6cb5ea011eda024e6e277acf (patch) | |
tree | 51f401ffb7b83c6c1bab85b628482f90a1f14094 | |
parent | bf382df84f2d8900a91de368c6bfce6b950e4b7f (diff) | |
download | rneovim-69f5f0e20e81ef3b6cb5ea011eda024e6e277acf.tar.gz rneovim-69f5f0e20e81ef3b6cb5ea011eda024e6e277acf.tar.bz2 rneovim-69f5f0e20e81ef3b6cb5ea011eda024e6e277acf.zip |
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.
https://github.com/vim/vim/commit/82f19734bfcbddbaee8d5d837f7b7a7119366020
Co-authored-by: dundargoc <gocdundar@gmail.com>
-rw-r--r-- | runtime/doc/options.txt | 6 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/options.lua | 6 | ||||
-rw-r--r-- | src/nvim/options.lua | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 970f687c99..b61da92804 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -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") diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index c908d7ae54..f52cea9900 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -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 diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 2621cc2eb1..7f3adb2b87 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -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' }, |