Mercurial > vim
diff src/vim.h @ 23693:cd06cc37f53f v8.2.2388
patch 8.2.2388: no easy way to get the maximum or mininum number value
Commit: https://github.com/vim/vim/commit/57d5a01cb45d6edb16c3835a49b42d6d8fc0163e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 21 21:42:31 2021 +0100
patch 8.2.2388: no easy way to get the maximum or mininum number value
Problem: No easy way to get the maximum or mininum number value.
Solution: Add v:numbermax and v:numbermin.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 21 Jan 2021 21:45:04 +0100 |
parents | 1f85acfb23cd |
children | 402f1d8653c1 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -1975,32 +1975,34 @@ typedef int sock_T; #define VV_TRUE 69 #define VV_NONE 70 #define VV_NULL 71 -#define VV_NUMBERSIZE 72 -#define VV_VIM_DID_ENTER 73 -#define VV_TESTING 74 -#define VV_TYPE_NUMBER 75 -#define VV_TYPE_STRING 76 -#define VV_TYPE_FUNC 77 -#define VV_TYPE_LIST 78 -#define VV_TYPE_DICT 79 -#define VV_TYPE_FLOAT 80 -#define VV_TYPE_BOOL 81 -#define VV_TYPE_NONE 82 -#define VV_TYPE_JOB 83 -#define VV_TYPE_CHANNEL 84 -#define VV_TYPE_BLOB 85 -#define VV_TERMRFGRESP 86 -#define VV_TERMRBGRESP 87 -#define VV_TERMU7RESP 88 -#define VV_TERMSTYLERESP 89 -#define VV_TERMBLINKRESP 90 -#define VV_EVENT 91 -#define VV_VERSIONLONG 92 -#define VV_ECHOSPACE 93 -#define VV_ARGV 94 -#define VV_COLLATE 95 -#define VV_EXITING 96 -#define VV_LEN 97 // number of v: vars +#define VV_NUMBERMAX 72 +#define VV_NUMBERMIN 73 +#define VV_NUMBERSIZE 74 +#define VV_VIM_DID_ENTER 75 +#define VV_TESTING 76 +#define VV_TYPE_NUMBER 77 +#define VV_TYPE_STRING 78 +#define VV_TYPE_FUNC 79 +#define VV_TYPE_LIST 80 +#define VV_TYPE_DICT 81 +#define VV_TYPE_FLOAT 82 +#define VV_TYPE_BOOL 83 +#define VV_TYPE_NONE 84 +#define VV_TYPE_JOB 85 +#define VV_TYPE_CHANNEL 86 +#define VV_TYPE_BLOB 87 +#define VV_TERMRFGRESP 88 +#define VV_TERMRBGRESP 89 +#define VV_TERMU7RESP 90 +#define VV_TERMSTYLERESP 91 +#define VV_TERMBLINKRESP 92 +#define VV_EVENT 93 +#define VV_VERSIONLONG 94 +#define VV_ECHOSPACE 95 +#define VV_ARGV 96 +#define VV_COLLATE 97 +#define VV_EXITING 98 +#define VV_LEN 99 // number of v: vars // used for v_number in VAR_BOOL and VAR_SPECIAL #define VVAL_FALSE 0L // VAR_BOOL