Christ van Willegen wrote:

> Op do 31 dec. 2020 17:42 schreef Bram Moolenaar <[email protected]>:
> 
> >
> > Patch 8.2.2254
> > Problem:    Vim9: bool option type is number.
> > Solution:   Have get_option_value() return a different value for bool and
> >             number options. (closes #7583)
> >
> > --- src/option.c        2020-12-31 16:54:06.330813166 +0100
> > ***************
> > *** 3834,3846 ****
> >    * Get the value for an option.
> >    *
> >    * Returns:
> > !  * Number or Toggle option: 1, *numval gets value.
> > !  *         String option: 0, *stringval gets allocated string.
> > !  * Hidden Number or Toggle option: -1.
> > !  *         hidden String option: -2.
> > !  *               unknown option: -3.
> >    */
> > !     int
> >   get_option_value(
> >       char_u    *name,
> >       long      *numval,
> > --- 3834,3848 ----
> >    * Get the value for an option.
> >    *
> >    * Returns:
> > !  * Number option: gov_number, *numval gets value.
> > !  * Tottle option: gov_bool,   *numval gets value.
> >
> 
> Toggle option meant here??

Most likely.  Or it could be "Tuttle"
( 
https://en.wikipedia.org/wiki/Brazil_(1985_film)#:~:text=Robert%20De%20Niro%20as%20Archibald,the%20smaller%20role%20of%20Tuttle
 ) ?

-- 
hundred-and-one symptoms of being an internet addict:
63. You start using smileys in your snail mail.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202012312136.0BVLa91m1350655%40masaka.moolenaar.net.

Raspunde prin e-mail lui