James McCoy wrote:

> The help states, "For numbers with leading zeros (including all octal
> and hexadecimal numbers), Vim preserves the number of characters in the
> number when possible".  However, this isn't the case when representing 0
> using two or more zeros (00, 000, etc.).  These are always rewritten to
> just 0 even when 'nrformats' contains "octal".
> 
> Attached patch fixes this.

Thanks.  I'll check it out soon.

-- 
The budget process was invented by an alien race of sadistic beings who
resemble large cats.
                                (Scott Adams - The Dilbert principle)

 /// 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

Raspunde prin e-mail lui