diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-06-15 17:12:48 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-06-15 17:12:48 +0200 |
commit | d7c968794710f338d491072171df48f96612cf72 (patch) | |
tree | d5edca7e09283ff5c345d8e113a10829a70412a2 /runtime/doc/version8.txt | |
parent | bffc50494d52a3690cbbc5c7b34a835f9153184e (diff) | |
download | vim-git-d7c968794710f338d491072171df48f96612cf72.tar.gz |
patch 8.1.1542: an OptionSet autocommand does not get enough infov8.1.1542
Problem: An OptionSet autocommand does not get enough info.
Solution: Add v:option_command, v:option_oldlocal and v:option_oldglobal.
(Latrice Wilgus, closes #4118)
Diffstat (limited to 'runtime/doc/version8.txt')
-rw-r--r-- | runtime/doc/version8.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/version8.txt b/runtime/doc/version8.txt index 1dcef7efe..73db5f05b 100644 --- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -336,7 +336,10 @@ New Vim variables: ~ |v:null| an empty String, used for JSON |v:option_new| new value of the option, used by |OptionSet| |v:option_old| old value of the option, used by |OptionSet| +|v:option_oldlocal| old local value of the option, used by |OptionSet| +|v:option_oldglobal| old global value of the option, used by |OptionSet| |v:option_type| scope of the set command, used by |OptionSet| +|v:option_command| command used to set the option, used by |OptionSet| |v:progpath| the command with which Vim was invoked |v:t_bool| value of Boolean type |v:t_channel| value of Channel type |