diff options
| author | Nick Hanley <nicholasjhanley@gmail.com> | 2022-11-16 13:28:50 -0500 |
|---|---|---|
| committer | Felix Van der Jeugt <felix.vanderjeugt@posteo.net> | 2022-11-29 22:09:43 +0100 |
| commit | de8e3bb7b6fedc0554cee20834001dd4a739cd88 (patch) | |
| tree | ae49efb024ab687e7af52149b42df7be1d31192c /lua/vis.lua | |
| parent | 8a420ecc4c1ed50111464ec66901bd983eaf2dbd (diff) | |
| download | vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.gz vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.xz | |
fix miscellaneous spelling mistakes
Diffstat (limited to 'lua/vis.lua')
| -rw-r--r-- | lua/vis.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/vis.lua b/lua/vis.lua index 4f5122b..44be66b 100644 --- a/lua/vis.lua +++ b/lua/vis.lua @@ -25,7 +25,7 @@ -- file:insert(range.start, out) -- end -- return range.start -- new cursor location --- end, "Formating operator, filter range through fmt(1)") +-- end, "Formatting operator, filter range through fmt(1)") -- vis.operator_new = function(vis, key, operator, help) local id = vis:operator_register(operator) @@ -47,7 +47,7 @@ end -- The motion function will receive the @{Window} and an initial position -- (in bytes from the start of the file) as argument and is expected to -- return the resulting position. --- @tparam string key the key to associate with the new mption +-- @tparam string key the key to associate with the new option -- @tparam function motion the motion logic implemented as Lua function -- @tparam[opt] string help the single line help text as displayed in `:help` -- @treturn bool whether the new motion could be installed @@ -214,7 +214,7 @@ end -- value terminates the event propagation. The other handlers will not be called. -- -- @tparam string event the event name --- @tparam ... ... the remaining paramters are passed on to the handler +-- @tparam ... ... the remaining parameters are passed on to the handler events.emit = function(event, ...) local h = handlers[event] if not h then return end |
