From e031250f12e295a5279b6cb6f4fddfb2a04995fb Mon Sep 17 00:00:00 2001 From: li <@li:maisiliym.uniks> Date: Thu, 10 Dec 2020 09:08:06 +0000 Subject: [PATCH 1/3] fix docs error --- doc/libmodal-lua.txt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/doc/libmodal-lua.txt b/doc/libmodal-lua.txt index 86fd7ab..eaf62fa 100644 --- a/doc/libmodal-lua.txt +++ b/doc/libmodal-lua.txt @@ -127,8 +127,6 @@ FUNCTIONS *libmodal-lua-ParseTable-functions* Value: ~ 13 --------------------------------------------------------------------------------- -FUNCTIONS *libmodal-lua-ParseTable-functions* `ParseTable`.stringSplit({str}, {regex}) *libmodal-lua-ParseTable.stringSplit()* @@ -585,8 +583,6 @@ FUNCTIONS *libmodal-lua-globals-functions* Value: ~ 1 --------------------------------------------------------------------------------- -FUNCTIONS *libmodal-lua-globals-functions* `globals`.is_false({val}) *libmodal-lua-globals.is_false()* @@ -806,7 +802,7 @@ FUNCTIONS *libmodal-lua-Layer-function See also: ~ |libmodal-lua-Layer.exit()| How to enter the `Layer`. -`self`:map({mode}, {lhs}, {rhs}, {options}) *libmodal-lua-Layer.enter()* +`self`:map({mode}, {lhs}, {rhs}, {options}) *libmodal-lua-Layer.map()* Add a mapping to the `Layer`. @@ -1043,8 +1039,6 @@ FUNCTIONS *libmodal-lua-Mode-functions* |libmodal-lua-ParseTable| For information about how to use this variable. --------------------------------------------------------------------------------- -FUNCTIONS *libmodal-lua-Mode-functions* `self`:enter() *libmodal-lua-Mode.enter()* From 8b7533ce84ba278491b39422c7a232f5d192bc31 Mon Sep 17 00:00:00 2001 From: Iron-E <36409591+Iron-E@users.noreply.github.com> Date: Thu, 10 Dec 2020 19:20:32 +0000 Subject: [PATCH 2/3] docs(libmodal-lua): separate vars and functions The function separators were mistakenly used for both variables _and_ functions previously. Then, we removed the function separators by accident in order to correct it. This re-established the previous separation by correctly distinguishing variables and functions. --- doc/libmodal-lua.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/libmodal-lua.txt b/doc/libmodal-lua.txt index eaf62fa..61d0fa1 100644 --- a/doc/libmodal-lua.txt +++ b/doc/libmodal-lua.txt @@ -115,7 +115,7 @@ keybinding:expression pairs. See: |libmodal-mode| for more information. -------------------------------------------------------------------------------- -FUNCTIONS *libmodal-lua-ParseTable-functions* +VARIABLES *libmodal-lua-ParseTable-variables* `ParseTable`.CR *libmodal-lua-ParseTable.CR* @@ -127,6 +127,8 @@ FUNCTIONS *libmodal-lua-ParseTable-functions* Value: ~ 13 +-------------------------------------------------------------------------------- +FUNCTIONS *libmodal-lua-ParseTable-functions* `ParseTable`.stringSplit({str}, {regex}) *libmodal-lua-ParseTable.stringSplit()* @@ -503,7 +505,7 @@ These are global functions used throughout the project. They are never modified and never meant TO be modified. -------------------------------------------------------------------------------- -FUNCTIONS *libmodal-lua-globals-functions* +VARIABLES *libmodal-lua-globals-variables* `globals`.DEFAULT_ERROR_TITLE *libmodal-lua-globals.DEFAULT_ERROR_TITLE* @@ -583,6 +585,8 @@ FUNCTIONS *libmodal-lua-globals-functions* Value: ~ 1 +-------------------------------------------------------------------------------- +FUNCTIONS *libmodal-lua-globals-functions* `globals`.is_false({val}) *libmodal-lua-globals.is_false()* From 045d2ef6a83a855011aa119265dd02d1c09ee026 Mon Sep 17 00:00:00 2001 From: Iron-E <36409591+Iron-E@users.noreply.github.com> Date: Thu, 10 Dec 2020 19:22:26 +0000 Subject: [PATCH 3/3] docs(libmodal-lua): add separator for Mode The previous commit didn't catch everything. --- doc/libmodal-lua.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/libmodal-lua.txt b/doc/libmodal-lua.txt index 61d0fa1..5d9661e 100644 --- a/doc/libmodal-lua.txt +++ b/doc/libmodal-lua.txt @@ -969,7 +969,7 @@ want to for their mode specifically. > document.) -------------------------------------------------------------------------------- -FUNCTIONS *libmodal-lua-Mode-functions* +VARIABLES *libmodal-lua-Mode-variables* `self`.exit *libmodal-lua-Mode.exit* @@ -1043,6 +1043,8 @@ FUNCTIONS *libmodal-lua-Mode-functions* |libmodal-lua-ParseTable| For information about how to use this variable. +-------------------------------------------------------------------------------- +FUNCTIONS *libmodal-lua-Mode-functions* `self`:enter() *libmodal-lua-Mode.enter()*