mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
vim-patch:9.1.0537: signed number detection for CTRL-X/A can be improved (#29590)
Problem: signed number detection for CTRL-X/A can be improved
(Chris Patuzzo)
Solution: Add the new "blank" value for the 'nrformat' setting. This
will make Vim assume a signed number only if there is a blank
in front of the sign.
(distobs)
fixes: vim/vim#15033
closes: vim/vim#15110
25ac6d67d9
Co-authored-by: distobs <cuppotatocake@gmail.com>
This commit is contained in:
@@ -82,7 +82,7 @@ static char *(p_dip_values[]) = { "filler", "context:", "iblank", "icase",
|
||||
"closeoff", "hiddenoff", "foldcolumn:", "followwrap", "internal",
|
||||
"indent-heuristic", "linematch:", "algorithm:", NULL };
|
||||
static char *(p_dip_algorithm_values[]) = { "myers", "minimal", "patience", "histogram", NULL };
|
||||
static char *(p_nf_values[]) = { "bin", "octal", "hex", "alpha", "unsigned", NULL };
|
||||
static char *(p_nf_values[]) = { "bin", "octal", "hex", "alpha", "unsigned", "blank", NULL };
|
||||
static char *(p_ff_values[]) = { FF_UNIX, FF_DOS, FF_MAC, NULL };
|
||||
static char *(p_cb_values[]) = { "unnamed", "unnamedplus", NULL };
|
||||
static char *(p_cmp_values[]) = { "internal", "keepascii", NULL };
|
||||
|
Reference in New Issue
Block a user