diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-10-07 05:52:13 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-10-07 05:54:12 +0800 |
commit | 92df389f1bc1709e56f3eaa0a4e0f3155dd86c97 (patch) | |
tree | 8ba5a00b89a6e60cb7a1250962a0fcbd00ead2ac | |
parent | 8bb0878013a4507620201fa5aceb4c18e413bebe (diff) | |
download | rneovim-92df389f1bc1709e56f3eaa0a4e0f3155dd86c97.tar.gz rneovim-92df389f1bc1709e56f3eaa0a4e0f3155dd86c97.tar.bz2 rneovim-92df389f1bc1709e56f3eaa0a4e0f3155dd86c97.zip |
vim-patch:27e12c7669e3
runtime(doc): remove E1520 tag (vim/vim#13289)
https://github.com/vim/vim/commit/27e12c7669e36a8f60fefa9db9a08024efeb06e8
-rw-r--r-- | runtime/doc/builtin.txt | 12 | ||||
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 12 | ||||
-rw-r--r-- | src/nvim/eval.lua | 12 |
3 files changed, 15 insertions, 21 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index a6c043045d..48fa953954 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -5115,8 +5115,6 @@ printf({fmt}, {expr1} ...) *printf()* 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* @@ -5308,11 +5306,11 @@ printf({fmt}, {expr1} ...) *printf()* %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. prompt_getprompt({buf}) *prompt_getprompt()* Returns the effective prompt text for buffer {buf}. {buf} can 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 diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 951dd2adbb..5a47286980 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -7381,8 +7381,6 @@ M.funcs = { 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* @@ -7574,11 +7572,11 @@ M.funcs = { %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. ]=], name = 'printf', |