diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-07 01:08:22 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-12 22:35:22 +0100 |
commit | f03dd22f0d37af88f40a27c694c3265026178e80 (patch) | |
tree | 25d2f4f89d47c68ce2e9f5291550d351ab9a85f4 /src/nvim/eval.lua | |
parent | 5811390f82c51a4bb15b2e8901e6b5a1d453480a (diff) | |
download | rneovim-f03dd22f0d37af88f40a27c694c3265026178e80.tar.gz rneovim-f03dd22f0d37af88f40a27c694c3265026178e80.tar.bz2 rneovim-f03dd22f0d37af88f40a27c694c3265026178e80.zip |
vim-patch:8.1.1835: cannot use printf() as a method
Problem: Cannot use printf() as a method.
Solution: Pass the base as the second argument to printf().
https://github.com/vim/vim/commit/fd8ca21b3ff207e44891aef922935d4adcd140cf
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 50b6eaadfd..1821ae51d7 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -258,7 +258,7 @@ return { pathshorten={args=1}, pow={args=2}, prevnonblank={args=1}, - printf={args=varargs(1)}, + printf={args=varargs(1), base=2}, prompt_getprompt={args=1}, prompt_setcallback={args={2, 2}}, prompt_setinterrupt={args={2, 2}}, |