Hi ZyX, 2016/7/5 Tue 10:02:46 UTC+9 ZyX wrote: > > + The function must return TRUE if the item should be kept. > > What is TRUE? v:true? True value? Example suggests the latter, but > documentation looks for me like it meant TRUE constant from source > (i.e. only 1). When talking about expressions it only states about > zero result, :if documentation talks about non-zero, so this part > should also talk about zero or non-zero.
TRUE and FALSE are already used in other part of this document. Maybe adding tags is enough? --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -100,6 +100,7 @@ To force conversion from String to Numbe To avoid a leading zero to cause octal conversion, or for using a different base, use |str2nr()|. + *TRUE* *FALSE* For boolean operators Numbers are used. Zero is FALSE, non-zero is TRUE. Note that in the command > Regards, Ken Takata -- -- 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]. For more options, visit https://groups.google.com/d/optout.
