2016-05-02 20:56 GMT+03:00 Chris AtLee <[email protected]>:

> Ok, I see why I was confused then. The string I was actually testing was
> more like this:
> 1-06
>
> I wanted to increment it to 1-07, then 1-08. However, because of the
> leading 0, vim treats it as octal and goes from 1-06 to 1-07 to 1-010. So I
> thought by removing octal from nrformats I could stop it treating these
> strings as octal.
>

​For some reason Vim accepts only decimal negative numbers. I do not know
why it was chosen to ignore minus sign near octal, hexadecimal and binary
numbers, but it is also intentional.​



> —
> You are receiving this because you commented.
> Reply to this email directly or view it on GitHub
> <https://github.com/vim/vim/issues/787#issuecomment-216310427>
>
> --
> --
> 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.
>

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

Raspunde prin e-mail lui