diff options
author | Matthieu Coudron <mattator@gmail.com> | 2017-03-21 03:21:53 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-07-28 01:27:58 +0200 |
commit | dc685387a3d60e9ea3d09c80c74d4613b618cf14 (patch) | |
tree | 76dc55b7f9bf077dd0f16c94d01a23e43663390a /src/nvim/eval.lua | |
parent | e6d54407ba8ce580fbd81cb9389eb9ce4483597b (diff) | |
download | rneovim-dc685387a3d60e9ea3d09c80c74d4613b618cf14.tar.gz rneovim-dc685387a3d60e9ea3d09c80c74d4613b618cf14.tar.bz2 rneovim-dc685387a3d60e9ea3d09c80c74d4613b618cf14.zip |
viml: introduce menu_get() function #6322
menu_get({path}, {modes}). See :h menu_get.
Diffstat (limited to 'src/nvim/eval.lua')
-rw-r--r-- | src/nvim/eval.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 30766a0734..08baae4086 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -2,10 +2,10 @@ -- -- Keys: -- --- args Number of arguments, list with maximum and minimum number of arguments --- or list with a minimum number of arguments only. Defaults to zero +-- args Number of arguments, list with maximum and minimum number of arguments +-- or list with a minimum number of arguments only. Defaults to zero -- arguments. --- func Name of the C function which implements the VimL function. Defaults to +-- func Name of the C function which implements the VimL function. Defaults to -- `f_{funcname}`. local varargs = function(nr) @@ -208,6 +208,7 @@ return { matchstr={args={2, 4}}, matchstrpos={args={2,4}}, max={args=1}, + menu_get={args={1, 2}}, min={args=1}, mkdir={args={1, 3}}, mode={args={0, 1}}, |