Thursday, September 24, 2015

Questions for the OptionSet event

Hi,

The OptionSet event has been introduced in 7.4.786, which looks useful.
I am trying to understand the behavior and I have found 2 questions now.

#1
For example,
set number
let &number = 1
generates the event, but
call setwinvar(0, '&number', 1)
does not. Why?

#2
diffthis and diffoff
generate the event only for scrollopt option.
How about other options like diff, scrollbind, cursorbind, wrap, foldmethod, and foldcolumn?

Thank you for your help.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: