From 82e9a289a6bd4956c979d2fb123025b4d4396ed5 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sat, 19 Mar 2022 01:08:11 -0400 Subject: Updated documentation on rearranging tabs and `move_buffer()`. --- core/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/init.lua b/core/init.lua index 56b7519f..aebc7da9 100644 --- a/core/init.lua +++ b/core/init.lua @@ -134,9 +134,12 @@ local view -- The functions below are Lua C functions. --- --- Moves the buffer at index *from* to index *to*, shifting other buffers as necessary. +-- Moves the buffer at index *from* to index *to* in the `_BUFFERS` table, shifting other buffers +-- as necessary. +-- This changes the order buffers are displayed in in the tab bar and buffer browser. -- @param from Index of the buffer to move. -- @param to Index to move the buffer to. +-- @see _BUFFERS -- @class function -- @name move_buffer local move_buffer -- cgit v1.2.3