diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-10-30 20:06:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 20:06:57 +0100 |
commit | 6d1a2f2c3c51560555ea6f7867273635d07eb287 (patch) | |
tree | b1a29752324ea1f455a77b5b46e545bc372e5c4b /runtime/doc/vim_diff.txt | |
parent | 788bc12a6f4c5a4627cbc75a2f539bfc622384a2 (diff) | |
parent | e19cc9c9b715d8171f7940632b8855104b5290b6 (diff) | |
download | rneovim-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.txt | 7 |
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. |