aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/vim_diff.txt
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-10-30 20:06:57 +0100
committerGitHub <noreply@github.com>2023-10-30 20:06:57 +0100
commit6d1a2f2c3c51560555ea6f7867273635d07eb287 (patch)
treeb1a29752324ea1f455a77b5b46e545bc372e5c4b /runtime/doc/vim_diff.txt
parent788bc12a6f4c5a4627cbc75a2f539bfc622384a2 (diff)
parente19cc9c9b715d8171f7940632b8855104b5290b6 (diff)
downloadrneovim-6d1a2f2c3c51560555ea6f7867273635d07eb287.tar.gz
rneovim-6d1a2f2c3c51560555ea6f7867273635d07eb287.tar.bz2
rneovim-6d1a2f2c3c51560555ea6f7867273635d07eb287.zip
Merge pull request #25674 from famiu/refactor/options/unify_string_options
refactor(options): unify `set_option` and `set_string_option`
Diffstat (limited to 'runtime/doc/vim_diff.txt')
-rw-r--r--runtime/doc/vim_diff.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 7d0047bb1d..8249179187 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -289,6 +289,10 @@ Normal commands:
|Q| replays the last recorded macro instead of switching to Ex mode (|gQ|).
Options:
+ Local values for global-local number/boolean options are unset when the
+ option is set without a scope (e.g. by using |:set|), similarly to how
+ global-local string options work.
+
'autoread' works in the terminal (if it supports "focus" events)
'cpoptions' flags: |cpo-_|
'diffopt' "linematch" feature
@@ -381,7 +385,8 @@ Variables:
|v:windowid| is always available (for use by external UIs)
|OptionSet| autocommand args |v:option_new|, |v:option_old|,
|v:option_oldlocal|, |v:option_oldglobal| have the type of the option
- instead of always being strings.
+ instead of always being strings. |v:option_old| is now the old global value
+ for all global-local options, instead of just string global-local options.
Vimscript:
|:redir| nested in |execute()| works.