From bfb36db59c432f18c9516d7307dc18ff987aa8e0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Mon, 3 Aug 2020 18:51:10 -0400 Subject: Updated LuaDoc. --- core/events.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/events.lua') diff --git a/core/events.lua b/core/events.lua index eb60c99b..322ae9d3 100644 --- a/core/events.lua +++ b/core/events.lua @@ -62,9 +62,11 @@ local M = {} -- * _`position`_: The position the list was displayed at. -- @field BUFFER_AFTER_SWITCH (string) -- Emitted right after switching to another buffer. +-- The buffer being switched to is `buffer`. -- Emitted by [`view.goto_buffer()`](). -- @field BUFFER_BEFORE_SWITCH (string) -- Emitted right before switching to another buffer. +-- The buffer being switched from is `buffer`. -- Emitted by [`view.goto_buffer()`](). -- @field BUFFER_DELETED (string) -- Emitted after deleting a buffer. @@ -297,9 +299,11 @@ local M = {} -- Emitted on startup and by [`view.split()`](). -- @field VIEW_BEFORE_SWITCH (string) -- Emitted right before switching to another view. +-- The view being switched from is `view`. -- Emitted by [`ui.goto_view()`](). -- @field VIEW_AFTER_SWITCH (string) -- Emitted right after switching to another view. +-- The view being switched to is `view`. -- Emitted by [`ui.goto_view()`](). -- @field ZOOM (string) -- Emitted after changing [`view.zoom`](). -- cgit v1.2.3