Skip to content

Commit e9543e2

Browse files
committed
Use new short-hand menu item notation.
Requires latest Textadept.
1 parent fef75ce commit e9543e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ function M.open(new)
206206
end
207207

208208
-- Add REPL to Tools menu.
209-
table.insert(textadept.menu.menubar[_L['Tools']], {''})
210-
table.insert(textadept.menu.menubar[_L['Tools']], {_L['Lua REPL'], M.open})
209+
table.insert(textadept.menu.menubar['Tools'], {''})
210+
table.insert(textadept.menu.menubar['Tools'], {_L['Lua REPL'], M.open})
211211

212212
return M

0 commit comments

Comments
 (0)