diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-01-04 00:38:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-04 07:38:48 +0800 |
commit | 936e191fef9865600af211c29ea4959ffbce81dd (patch) | |
tree | de6d07e200431bf5638c581b1a5bd856e0675682 /src/nvim/generators/gen_api_dispatch.lua | |
parent | 5529b07316b75913188c44698aed6c0f866c5da9 (diff) | |
download | rneovim-936e191fef9865600af211c29ea4959ffbce81dd.tar.gz rneovim-936e191fef9865600af211c29ea4959ffbce81dd.tar.bz2 rneovim-936e191fef9865600af211c29ea4959ffbce81dd.zip |
docs: fix typos (#21427)
Co-authored-by: Gustavo Sampaio <gbritosampaio@gmail.com>
Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
Co-authored-by: Tomas Nemec <nemi@skaut.cz>
Diffstat (limited to 'src/nvim/generators/gen_api_dispatch.lua')
-rw-r--r-- | src/nvim/generators/gen_api_dispatch.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/generators/gen_api_dispatch.lua b/src/nvim/generators/gen_api_dispatch.lua index 55ab9fdf0e..96c9b21b8f 100644 --- a/src/nvim/generators/gen_api_dispatch.lua +++ b/src/nvim/generators/gen_api_dispatch.lua @@ -61,7 +61,7 @@ for i = 6, #arg do functions[#functions + 1] = tmp[j] function_names[fn.name] = true if #fn.parameters >= 2 and fn.parameters[2][1] == 'Array' and fn.parameters[2][2] == 'uidata' then - -- function recieves the "args" as a parameter + -- function receives the "args" as a parameter fn.receives_array_args = true -- remove the args parameter table.remove(fn.parameters, 2) @@ -360,7 +360,7 @@ for i = 1, #functions do if #args > 0 or fn.can_fail then output:write('channel_id, ') if fn.receives_array_args then - -- if the function recieves the array args, pass it the second argument + -- if the function receives the array args, pass it the second argument output:write('args, ') end output:write(call_args) |