From 8bb0878013a4507620201fa5aceb4c18e413bebe Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 6 Oct 2023 07:21:40 +0800 Subject: vim-patch:9.0.1990: strange error number Problem: strange error number Solution: change error number, add doc tag for E1507 closes: vim/vim#13270 https://github.com/vim/vim/commit/ea746f9e862092aef3d4e95c64d116759b9fabe0 Co-authored-by: Christ van Willegen --- runtime/lua/vim/_meta/vimfn.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 5a3a5f3890..bc81322a76 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -6290,6 +6290,13 @@ function vim.fn.prevnonblank(lnum) end --- < E1505: Invalid format specifier: --- %1$d at width %2$d is: %01$*2$.3$d --- +--- *E1507* +--- This internal error indicates that the logic to +--- parse a positional format error ran into a problem +--- that couldn't be otherwise reported. Please file a +--- bug against vim if you run into this, copying the +--- exact format string and parameters that were used. +--- --- @param fmt any --- @param expr1? any --- @return any -- cgit From 92df389f1bc1709e56f3eaa0a4e0f3155dd86c97 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 7 Oct 2023 05:52:13 +0800 Subject: vim-patch:27e12c7669e3 runtime(doc): remove E1520 tag (vim/vim#13289) https://github.com/vim/vim/commit/27e12c7669e36a8f60fefa9db9a08024efeb06e8 --- runtime/lua/vim/_meta/vimfn.lua | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'runtime/lua/vim') diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index bc81322a76..06de2fdd1c 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -6098,8 +6098,6 @@ function vim.fn.prevnonblank(lnum) end --- precision, the argument(s) to be used must also be specified --- using a {n$} positional argument specifier. See |printf-$|. --- ---- ---- *E1520* --- The conversion specifiers and their meanings are: --- --- *printf-d* *printf-b* *printf-B* *printf-o* *printf-x* *printf-X* @@ -6291,11 +6289,11 @@ function vim.fn.prevnonblank(lnum) end --- %1$d at width %2$d is: %01$*2$.3$d --- --- *E1507* ---- This internal error indicates that the logic to ---- parse a positional format error ran into a problem ---- that couldn't be otherwise reported. Please file a ---- bug against vim if you run into this, copying the ---- exact format string and parameters that were used. +--- This internal error indicates that the logic to parse a +--- positional format argument ran into a problem that couldn't be +--- otherwise reported. Please file a bug against Vim if you run +--- into this, copying the exact format string and parameters that +--- were used. --- --- @param fmt any --- @param expr1? any -- cgit