diff src/optionstr.c @ 20613:9edb439adbea v8.2.0860

patch 8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers Commit: https://github.com/vim/vim/commit/aaad995f8384a77a64efba6846c9c4ac99de0953 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 31 15:08:59 2020 +0200 patch 8.2.0860: cannot use CTRL-A and CTRL-X on unsigned numbers Problem: Cannot use CTRL-A and CTRL-X on unsigned numbers. Solution: Add "unsigned" to 'nrformats'. (Naruhiko Nishino, closes https://github.com/vim/vim/issues/6144)
author Bram Moolenaar <Bram@vim.org>
date Sun, 31 May 2020 15:15:04 +0200
parents 054ba681412d
children 813b9a7064a4
line wrap: on
line diff
--- a/src/optionstr.c
+++ b/src/optionstr.c
@@ -21,7 +21,7 @@ static char *(p_bo_values[]) = {"all", "
 				 "hangul", "insertmode", "lang", "mess",
 				 "showmatch", "operator", "register", "shell",
 				 "spell", "wildmode", NULL};
-static char *(p_nf_values[]) = {"bin", "octal", "hex", "alpha", NULL};
+static char *(p_nf_values[]) = {"bin", "octal", "hex", "alpha", "unsigned", NULL};
 static char *(p_ff_values[]) = {FF_UNIX, FF_DOS, FF_MAC, NULL};
 #ifdef FEAT_CRYPT
 static char *(p_cm_values[]) = {"zip", "blowfish", "blowfish2", NULL};