Skip to content

Commit

Permalink
Use new short-hand menu item notation.
Browse files Browse the repository at this point in the history
Requires latest Textadept.
  • Loading branch information
orbitalquark committed Apr 28, 2023
1 parent f235522 commit 7c504d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function M.paragraph()
end

-- Add menu entry.
local m_edit = textadept.menu.menubar[_L['Edit']]
local m_edit = textadept.menu.menubar['Edit']
table.insert(m_edit, #m_edit - 1, {
title = _L['Reformat'], --
{_L['Code'], M.code}, --
Expand Down

0 comments on commit 7c504d0

Please sign in to comment.