Version: 8.0.1573
Platform: Fedora 27 x86_64
Ctrl-X fails to decrement 0xfffffffffffffffe
.
How to reproduce:
vim -N -u NONE
.0x0
.Ctrl-X
on the hex number several times. It will first become 0xffffffffffffffff
, then stop at 0xfffffffffffffffe
and won't change on more Ctrl-X
strokes.Ctrl-A
on 0xfffffffffffffffe
, it directly goes back to 0x0000000000000000
, skipping 0xffffffffffffffff
.0b0
or 00
.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
I found that vim_str2nr
couldn't convert some large values.
E.g. It converts the strings between "0xfffffffffffffff0" to "0xfffffffffffffffe" to 0xffffffffffffffff.
I wrote a patch for this:
https://bitbucket.org/k_takata/vim-ktakata-mq/src/b1f0723e43bcdb97c403b269cb9dff287dbc2149/fix-2746.patch?at=default&fileviewer=file-view-default
(Test is not included, though.)