You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is a leading zero it is using the base 8 which make 020 the correct next number after 017.
The same thing happens when you prefix a number with 0x19 the next number would be 0x1A.
I also tried it out in vim and the same thing happens 017 -> 020 and 0x19 -> 0x1a, in NeoVim it doesn't do the octal number system, but does do hex correctly.
I think this would be considered correct behavior, since the same thing happens in vim.
Describe the bug
If the numbers to increase have a zero at the left and the last number is a 7 instead of increar a number increas a 3 numbers.
To Reproduce
Expected behavior
I expect to increas just one number, this behavior does not occur if you do not set the leading zero.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: