Skip to content

Commit ab05023

Browse files
committed
Use new short-hand menu item notation.
Requires latest Textadept.
1 parent 567f07a commit ab05023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ args.register('-d', '--diff', 2, M.start, 'Compares two files')
511511

512512
-- Add a menu and configure key bindings.
513513
-- (Insert 'Compare Files' menu in alphabetical order.)
514-
local m_tools = textadept.menu.menubar[_L['Tools']]
514+
local m_tools = textadept.menu.menubar['Tools']
515515
local found_area
516516
for i = 1, #m_tools - 1 do
517517
if not found_area and m_tools[i + 1].title == _L['Bookmarks'] then

0 commit comments

Comments
 (0)