autocommand when changing/setting option ?

2008-06-17 Fir de Conversatie Yakov Lerner
We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want automatically execute match Error /\%70v/. I realize I can make a custom command or function to change two things together. But if this

Re: autocommand when changing/setting option ?

2008-06-17 Fir de Conversatie Tony Mechelynck
On 17/06/08 16:40, Yakov Lerner wrote: We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want automatically execute match Error /\%70v/. I realize I can make a custom command or

Re: autocommand when changing/setting option ?

2008-06-17 Fir de Conversatie Bram Moolenaar
Yakov Lerner wrote: We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want automatically execute match Error /\%70v/. I realize I can make a custom command or function to change

Re: autocommand when changing/setting option ?

2008-06-17 Fir de Conversatie Yakov Lerner
On Tue, Jun 17, 2008 at 6:43 PM, Tony Mechelynck [EMAIL PROTECTED] wrote: On 17/06/08 16:40, Yakov Lerner wrote: We do not have autocommand that fires when option is set/changed, right ? vim 8 maybe ? Can this be added to do todo ? For example, when I do 'set tw=70' I want