diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-09-26 11:43:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 17:43:23 +0800 |
commit | c815aadfccd6bada47ecfb09fe188ee7f7c5caf3 (patch) | |
tree | 96b9f6a9c000274d3a0ab10349d2aa1809601f71 /test/functional/vimscript/map_functions_spec.lua | |
parent | fe045bfd5f27abd5d55615e14c606d035e4d2533 (diff) | |
download | rneovim-c815aadfccd6bada47ecfb09fe188ee7f7c5caf3.tar.gz rneovim-c815aadfccd6bada47ecfb09fe188ee7f7c5caf3.tar.bz2 rneovim-c815aadfccd6bada47ecfb09fe188ee7f7c5caf3.zip |
docs: fix typos (#20150)
Co-authored-by: Miguel Carneiro <mcarneiromorenas@gmail.com>
Co-authored-by: Gregory Anders <greg@gpanders.com>
Co-authored-by: Raphael <glephunter@gmail.com>
Co-authored-by: C.D. MacEachern <craig.daniel.maceachern@gmail.com>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Diffstat (limited to 'test/functional/vimscript/map_functions_spec.lua')
-rw-r--r-- | test/functional/vimscript/map_functions_spec.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/functional/vimscript/map_functions_spec.lua b/test/functional/vimscript/map_functions_spec.lua index ed1863754a..8645b1e506 100644 --- a/test/functional/vimscript/map_functions_spec.lua +++ b/test/functional/vimscript/map_functions_spec.lua @@ -176,15 +176,12 @@ describe('mapset()', function() it('can restore mapping description from the dict returned by maparg()', function() meths.set_keymap('n', 'lhs', 'rhs', {desc = 'map description'}) - eq('\nn lhs rhs\n map description', - helpers.exec_capture("nmap lhs")) + eq('\nn lhs rhs\n map description', exec_capture("nmap lhs")) local mapargs = funcs.maparg('lhs', 'n', false, true) meths.set_keymap('n', 'lhs', 'rhs', {desc = 'MAP DESCRIPTION'}) - eq('\nn lhs rhs\n MAP DESCRIPTION', - helpers.exec_capture("nmap lhs")) + eq('\nn lhs rhs\n MAP DESCRIPTION', exec_capture("nmap lhs")) funcs.mapset('n', false, mapargs) - eq('\nn lhs rhs\n map description', - helpers.exec_capture("nmap lhs")) + eq('\nn lhs rhs\n map description', exec_capture("nmap lhs")) end) it('can restore "replace_keycodes" from the dict returned by maparg()', function() |