about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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]