aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_meta/vimfn.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-10-06 07:21:40 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-10-07 05:54:10 +0800
commit8bb0878013a4507620201fa5aceb4c18e413bebe (patch)
treeb04e47685a8df5a3a91d1361c6f6218721eac641 /runtime/lua/vim/_meta/vimfn.lua
parent4e4ad4312e6b3755a2114ab81c62033e6bc616fe (diff)
downloadrneovim-8bb0878013a4507620201fa5aceb4c18e413bebe.tar.gz
rneovim-8bb0878013a4507620201fa5aceb4c18e413bebe.tar.bz2
rneovim-8bb0878013a4507620201fa5aceb4c18e413bebe.zip
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 <cvwillegen@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
-rw-r--r--runtime/lua/vim/_meta/vimfn.lua7
1 files changed, 7 insertions, 0 deletions
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