about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-04-05 12:38:00 -0400
committerelioat <elioat@tilde.institute>2024-04-05 12:38:00 -0400
commite57315dac71d59ece5cf6ac3582dfbde73b17266 (patch)
tree5d55dada66ae9bab77ac22fb876e19bc1d487424
parent1f6f62c739b170dbfdd531bb5e4be5dca419c1c4 (diff)
downloadtour-e57315dac71d59ece5cf6ac3582dfbde73b17266.tar.gz
*
-rw-r--r--lua/enum.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/enum.lua b/lua/enum.lua
index 60c657e..df44005 100644
--- a/lua/enum.lua
+++ b/lua/enum.lua
@@ -1,6 +1,6 @@
 -- because sometimes you need an enum
 
-function enum(tbl)
+local function enum(tbl)
     local length = #tbl
     for i = 1, length do
         local v = tbl[i]