diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-26 22:47:12 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-04-27 09:21:35 -0400 |
commit | 25c0675fe343aa20e05c6cb26c2529d9dd9ac748 (patch) | |
tree | c9e976ec68dff373fe42847e7b747e89519fc3c0 /runtime | |
parent | e257aff016edc1d240d66c86e84e1f10ad972fd1 (diff) | |
download | rneovim-25c0675fe343aa20e05c6cb26c2529d9dd9ac748.tar.gz rneovim-25c0675fe343aa20e05c6cb26c2529d9dd9ac748.tar.bz2 rneovim-25c0675fe343aa20e05c6cb26c2529d9dd9ac748.zip |
vim-patch:8.2.0296: mixing up "long long" and __int64 may cause problems
Problem: Mixing up "long long" and __int64 may cause problems. (John
Marriott)
Solution: Pass varnumber_T to vim_snprintf(). Add v:numbersize.
https://github.com/vim/vim/commit/f9706e9df0e37d214fb08eda30ba29627e97a607
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index c907e23a62..459e3ed2d2 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -19,6 +19,7 @@ There are six types of variables: *Number* *Integer* Number A 32 or 64 bit signed number. |expr-number| + The number of bits is available in |v:numbersize|. Examples: -123 0x10 0177 0b1011 Float A floating point number. |floating-point-format| *Float* @@ -1793,6 +1794,10 @@ v:null Special value used to put "null" in JSON and NIL in msgpack. operator) and to zero when used as a Number (e.g. in |expr5| or |expr7| when used with numeric operators). Read-only. + *v:numbersize* *numbersize-variable* +v:numbersize Number of bits in a Number. This is normally 64, but on some + systems it may be 32. + *v:oldfiles* *oldfiles-variable* v:oldfiles List of file names that is loaded from the |shada| file on startup. These are the files that Vim remembers marks for. |