We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4629378 commit 4129e6eCopy full SHA for 4129e6e
init.lua
@@ -25,12 +25,6 @@
25
-- @module lua_repl
26
local M = {}
27
28
--- Localizations.
29
-if not rawget(_L, 'Lua REPL') then
30
- _L['Lua REPL'] = 'L_ua REPL'
31
- _L['[Lua REPL]'] = '[Lua REPL]'
32
-end
33
-
34
--- A special environment for a Lua REPL.
35
-- It has an `__index` metafield for accessing Textadept's global environment.
36
-- @table env
@@ -209,6 +203,7 @@ function M.open(new)
209
203
end
210
204
211
205
-- Add REPL to Tools menu.
206
+_L['Lua REPL'] = 'L_ua REPL'
212
207
table.insert(textadept.menu.menubar['Tools'], {''})
213
208
table.insert(textadept.menu.menubar['Tools'], {_L['Lua REPL'], M.open})
214
0 commit comments