From 0251a25541a3945bbbcc6f9b5964cd26283cb105 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 18 Apr 2025 16:58:55 +0800 Subject: 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 --- runtime/lua/vim/_meta/vimfn.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/lua/vim/_meta/vimfn.lua') 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 -- cgit