aboutsummaryrefslogtreecommitdiffhomepage
path: root/core/ui.lua
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-13 22:08:19 -0400
committerGravatar mitchell <70453897+orbitalquark@users.noreply.github.com>2020-09-13 22:08:19 -0400
commit8d20bce133389221acc5de7dab7e7fabfdee24b0 (patch)
tree2fd60a40356b4c70ac1b71d9c8068765a713d0fe /core/ui.lua
parentb80f5edb93492050638887ca974e2298f30df283 (diff)
Updated LuaDoc to avoid writing '{{'.
This confuses Jekyll's Liquid tag processing.
Diffstat (limited to 'core/ui.lua')
-rw-r--r--core/ui.lua4
1 files changed, 2 insertions, 2 deletions
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