diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-04-18 16:58:55 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-04-18 17:00:34 +0800 |
| commit | 0251a25541a3945bbbcc6f9b5964cd26283cb105 (patch) | |
| tree | d027ee198e2996706db8855f7091db83ff9e1c88 /runtime/lua/vim/_meta/vimfn.lua | |
| parent | ccdb37b075c6804cece245a58d766efb0f6a22f2 (diff) | |
| download | rneovim-0251a25541a3945bbbcc6f9b5964cd26283cb105.tar.gz rneovim-0251a25541a3945bbbcc6f9b5964cd26283cb105.tar.bz2 rneovim-0251a25541a3945bbbcc6f9b5964cd26283cb105.zip | |
vim-patch:9.1.1318: tests: test_format fails
Problem: tests: test_format fails (after 9.1.1314).
Solution: Increase the string size. Add missing test_format.res in
NEW_TESTS_RES (zeertzjq).
closes: vim/vim#17144
https://github.com/vim/vim/commit/e9a27ef37395a0130f99e21b288b7765f0e38236
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
| -rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 3b0d51a429..c1387954df 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -6720,7 +6720,8 @@ function vim.fn.prevnonblank(lnum) end --- < 1.41 --- --- You will get an overflow error |E1510|, when the field-width ---- or precision will result in a string longer than 6400 chars. +--- or precision will result in a string longer than 1 MB +--- (1024*1024 = 1048576) chars. --- --- *E1500* --- You cannot mix positional and non-positional arguments: >vim |