From b35a8dd225b06340022c4971471952c48380b1db Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Thu, 16 Jul 2020 17:25:51 -0400 Subject: Minor LuaDoc updates and spelling corrections. --- core/events.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/events.lua') diff --git a/core/events.lua b/core/events.lua index bdef3cc9..34943e1d 100644 --- a/core/events.lua +++ b/core/events.lua @@ -46,7 +46,7 @@ local M = {} -- @field AUTO_C_SELECTION (string) -- Emitted after selecting an item from an autocompletion list, but before -- inserting that item into the buffer. --- Automatic insertion can be cancelled by calling +-- Automatic insertion can be canceled by calling -- [`buffer:auto_c_cancel()`]() before returning from the event handler. -- Arguments: -- @@ -71,6 +71,7 @@ local M = {} -- Emitted by [`buffer.delete()`](). -- @field BUFFER_NEW (string) -- Emitted after creating a new buffer. +-- The new buffer is `buffer`. -- Emitted on startup and by [`buffer.new()`](). -- @field CALL_TIP_CLICK (string) -- Emitted when clicking on a calltip. @@ -288,6 +289,7 @@ local M = {} -- * _`position`_: The position the list was displayed at. -- @field VIEW_NEW (string) -- Emitted after creating a new view. +-- The new view is `view`. -- Emitted on startup and by [`view.split()`](). -- @field VIEW_BEFORE_SWITCH (string) -- Emitted right before switching to another view. -- cgit v1.2.3