From fe5030c05ec52cab7de03a9ee9150e855b9eefa1 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Mon, 29 Jul 2024 08:02:31 +0800 Subject: vim-patch:partial:52e7cc2: runtime(doc): tweak documentation style a bit (#29897) closes: vim/vim#15371 https://github.com/vim/vim/commit/52e7cc26d81c61fff1b2e3b32e8b9b04347be1d3 Co-authored-by: h-east --- src/nvim/options.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 368cdca5e7..cf97f682f8 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -5718,17 +5718,17 @@ return { Using CTRL-X on "0" or CTRL-A on "18446744073709551615" (2^64 - 1) has no effect, overflow is prevented. blank If included, treat numbers as signed or unsigned based on - preceding whitespace. If a number with a leading dash has its + preceding whitespace. If a number with a leading dash has its dash immediately preceded by a non-whitespace character (i.e., not a tab or a " "), the negative sign won't be considered as part of the number. For example: Using CTRL-A on "14" in "Carbon-14" results in "Carbon-15" (without "blank" it would become "Carbon-13"). Using CTRL-X on "8" in "Carbon -8" results in "Carbon -9" - (because -8 is preceded by whitespace. If "unsigned" was + (because -8 is preceded by whitespace. If "unsigned" was set, it would result in "Carbon -7"). If this format is included, overflow is prevented as if - "unsigned" were set. If both this format and "unsigned" are + "unsigned" were set. If both this format and "unsigned" are included, "unsigned" will take precedence. Numbers which simply begin with a digit in the range 1-9 are always -- cgit