aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-12-20 07:02:48 +0800
committerGitHub <noreply@github.com>2023-12-20 07:02:48 +0800
commit184f8423492f62b67b499efc53582dad4917ca5a (patch)
tree2f5b8b1116b5c2de7f7562f737c8384ee3a10d08
parent2ed784f3859bb0e70ae4ba79a99866cddd54219b (diff)
downloadrneovim-184f8423492f62b67b499efc53582dad4917ca5a.tar.gz
rneovim-184f8423492f62b67b499efc53582dad4917ca5a.tar.bz2
rneovim-184f8423492f62b67b499efc53582dad4917ca5a.zip
vim-patch:955652f6df9c (#26667)
runtime(doc): Update change.txt (vim/vim#13725) Fix-up and clarify commit e06f2b498ccca921f34a1bec4464f042a5a2cabd https://github.com/vim/vim/commit/955652f6df9c4a1048fde8028c5c7f7871b5f71a Co-authored-by: K.Takata <kentkt@csc.jp>
-rw-r--r--runtime/doc/change.txt9
1 files changed, 6 insertions, 3 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 61e7c0c6e0..703addf51a 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -424,9 +424,12 @@ octal number.
Note that when 'nrformats' includes "octal", decimal numbers with leading
zeros cause mistakes, because they can be confused with octal numbers.
-Note similarly, when 'nrformats' includes "bin", binary numbers with a leading
-'0b' or '0B' can be interpreted as hexadecimal rather than binary since '0b'
-are valid hexadecimal digits.
+Note similarly, when 'nrformats' includes both "bin" and "hex", binary numbers
+with a leading '0x' or '0X' can be interpreted as hexadecimal rather than
+binary since '0b' are valid hexadecimal digits. CTRL-A on "0x0b11" results in
+"0x0b12", not "0x0b100".
+When 'nrformats' includes "bin" and doesn't include "hex", CTRL-A on "0b11" in
+"0x0b11" results in "0x0b100".
When the number under the cursor is too big to fit into 64 bits, it will be
rounded off to the nearest number that can be represented, and the