aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2023-02-16 19:33:11 +0100
committerMatěj Cepl <mcepl@cepl.eu>2023-02-16 19:33:11 +0100
commit7b26efa4d70866ff603468f89dc399f98632bf71 (patch)
treeea30f40eeb1faaefd79a789105ccb92a08402ca0
parent7ecd199d7838f1669a45a2353362ec19241d45db (diff)
downloadvis-toggler-7b26efa4d70866ff603468f89dc399f98632bf71.tar.gz
Stop using obsolete format of require().devel-back
-rw-r--r--init.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/init.lua b/init.lua
index c69e248..9b04533 100644
--- a/init.lua
+++ b/init.lua
@@ -4,10 +4,8 @@
-- The local-part is the Z code for "Place a competent operator on this circuit."
require("vis")
-local vis = vis
-require("lpeg")
-local l = lpeg
+local l = require("lpeg")
local C, Cc, Ct, Cmt, Cp, Cg, P, R, S, V = l.C, l.Cc, l.Ct, l.Cmt, l.Cp, l.Cg, l.P, l.R, l.S, l.V
local progname = ...