aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.lua
diff options
context:
space:
mode:
authorSean Dewar <seandewar@users.noreply.github.com>2021-08-31 23:49:43 +0100
committerSean Dewar <seandewar@users.noreply.github.com>2021-10-03 20:06:33 +0100
commit86593beaa40035a10a664d3147327a01f4885cb7 (patch)
tree9a305c6bc4c1497bc9c40d38e059a6593c0d363b /src/nvim/eval.lua
parent59c8a1fd5158886cb13b56070ebf15259d12eba2 (diff)
downloadrneovim-86593beaa40035a10a664d3147327a01f4885cb7.tar.gz
rneovim-86593beaa40035a10a664d3147327a01f4885cb7.tar.bz2
rneovim-86593beaa40035a10a664d3147327a01f4885cb7.zip
feat(eval/method): partially port v8.1.1954
Does not include listener_*() functions. js_*() functions are N/A. json_encode() and json_decode() didn't include tests; add some anyway (to json_functions_spec.lua). test_lua.vim isn't included yet, so add tests to luaeval_spec.lua.
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r--src/nvim/eval.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index f600b4ce06..572e32e5a7 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -220,21 +220,21 @@ return {
jobstop={args=1},
jobwait={args={1, 2}},
join={args={1, 2}, base=1},
- json_decode={args=1},
- json_encode={args=1},
+ json_decode={args=1, base=1},
+ json_encode={args=1, base=1},
keys={args=1, base=1},
last_buffer_nr={}, -- obsolete
len={args=1, base=1},
- libcall={args=3},
- libcallnr={args=3},
- line={args={1, 2}},
- line2byte={args=1},
- lispindent={args=1},
- list2str={args={1, 2}},
+ libcall={args=3, base=3},
+ libcallnr={args=3, base=3},
+ line={args={1, 2}, base=1},
+ line2byte={args=1, base=1},
+ lispindent={args=1, base=1},
+ list2str={args={1, 2}, base=1},
localtime={},
log={args=1, base=1, func="float_op_wrapper", data="&log"},
log10={args=1, base=1, func="float_op_wrapper", data="&log10"},
- luaeval={args={1, 2}},
+ luaeval={args={1, 2}, base=1},
map={args=2, base=1},
maparg={args={1, 4}},
mapcheck={args={1, 3}},