comparison runtime/doc/version8.txt @ 17085:620e9011b685 v8.1.1542

patch 8.1.1542: an OptionSet autocommand does not get enough info commit https://github.com/vim/vim/commit/d7c968794710f338d491072171df48f96612cf72 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 15 17:12:48 2019 +0200 patch 8.1.1542: an OptionSet autocommand does not get enough info 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jun 2019 17:15:05 +0200
parents d23afa4d8b63
children ca8e754bdd53
comparison
equal deleted inserted replaced
17084:06dcb09b3b07 17085:620e9011b685
334 |v:mouse_winid| Window ID for a mouse click obtained with |getchar()| 334 |v:mouse_winid| Window ID for a mouse click obtained with |getchar()|
335 |v:none| an empty String, used for JSON 335 |v:none| an empty String, used for JSON
336 |v:null| an empty String, used for JSON 336 |v:null| an empty String, used for JSON
337 |v:option_new| new value of the option, used by |OptionSet| 337 |v:option_new| new value of the option, used by |OptionSet|
338 |v:option_old| old value of the option, used by |OptionSet| 338 |v:option_old| old value of the option, used by |OptionSet|
339 |v:option_oldlocal| old local value of the option, used by |OptionSet|
340 |v:option_oldglobal| old global value of the option, used by |OptionSet|
339 |v:option_type| scope of the set command, used by |OptionSet| 341 |v:option_type| scope of the set command, used by |OptionSet|
342 |v:option_command| command used to set the option, used by |OptionSet|
340 |v:progpath| the command with which Vim was invoked 343 |v:progpath| the command with which Vim was invoked
341 |v:t_bool| value of Boolean type 344 |v:t_bool| value of Boolean type
342 |v:t_channel| value of Channel type 345 |v:t_channel| value of Channel type
343 |v:t_dict| value of Dictionary type 346 |v:t_dict| value of Dictionary type
344 |v:t_float| value of Float type 347 |v:t_float| value of Float type