diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-07 18:09:39 +0100 |
---|---|---|
committer | Sean Dewar <seandewar@users.noreply.github.com> | 2021-08-12 22:35:24 +0100 |
commit | 56b56a76e8294a319d2db32581f82421d4a4d446 (patch) | |
tree | dff3b9fb678cc5cc23e346c3199a5bb6843d9704 /src/nvim/eval.lua | |
parent | 7925f0b6330c18c9391d02f844cd17b41fbb3d2e (diff) | |
download | rneovim-56b56a76e8294a319d2db32581f82421d4a4d446.tar.gz rneovim-56b56a76e8294a319d2db32581f82421d4a4d446.tar.bz2 rneovim-56b56a76e8294a319d2db32581f82421d4a4d446.zip |
vim-patch:8.1.1911: more functions can be used as methods
Problem: More functions can be used as methods.
Solution: Make a few more functions usable as a method.
https://github.com/vim/vim/commit/64b4d73524b9a2304d89b87529cd8d3cef14b856
Note that the old-style version of Test_byteidx() was already translated
to a Lua test in 069_multibyte_formatting_spec.lua. Keep both versions,
using Test_byteidx() to mainly test the method call syntax for byteidx()
and byteidxcomp().
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 722f413d82..24f4b5fc49 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -62,10 +62,10 @@ return { bufnr={args={0, 2}, base=1}, bufwinid={args=1, base=1}, bufwinnr={args=1, base=1}, - byte2line={args=1}, - byteidx={args=2}, - byteidxcomp={args=2}, - call={args={2, 3}}, + byte2line={args=1, base=1}, + byteidx={args=2, base=1}, + byteidxcomp={args=2, base=1}, + call={args={2, 3}, base=1}, ceil={args=1, base=1, func="float_op_wrapper", data="&ceil"}, changenr={}, chanclose={args={1, 2}}, |