From 8d20bce133389221acc5de7dab7e7fabfdee24b0 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+orbitalquark@users.noreply.github.com> Date: Sun, 13 Sep 2020 22:08:19 -0400 Subject: Updated LuaDoc to avoid writing '{{'. This confuses Jekyll's Liquid tag processing. --- core/ui.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/ui.lua') diff --git a/core/ui.lua b/core/ui.lua index 30187098..90b43d90 100644 --- a/core/ui.lua +++ b/core/ui.lua @@ -584,8 +584,8 @@ local goto_view -- menu. '_' characters are treated as a menu mnemonics. If the menu item is -- empty, a menu separator item is created. Submenus are just nested -- menu-structure tables. Their title text is defined with a `title` key. --- @usage ui.menu{{'_New', 1}, {'_Open', 2}, {''}, {'_Quit', 4}} --- @usage ui.menu{{'_New', 1, string.byte('n'), 4}} -- 'Ctrl+N' +-- @usage ui.menu{ {'_New', 1}, {'_Open', 2}, {''}, {'_Quit', 4} } +-- @usage ui.menu{ {'_New', 1, string.byte('n'), 4} } -- 'Ctrl+N' -- @see events.MENU_CLICKED -- @see textadept.menu.menubar -- @see textadept.menu.context_menu -- cgit v1.2.3