summaryrefslogtreecommitdiff
path: root/lua/99/id.lua
diff options
context:
space:
mode:
authorThePrimeAgain <theprimeagain@theprimeagain.com>2025-12-26 15:25:30 -0700
committerThePrimeAgain <theprimeagain@theprimeagain.com>2025-12-26 15:25:30 -0700
commit6da68cdb8edea79f721479561ddc8d79e91981fe (patch)
treee7e64edd62a76759ba891346a9b7bb3a3670d93d /lua/99/id.lua
parent9f82332f402a51c17bb69ca5937d4ba7d8cf004a (diff)
downloada4-6da68cdb8edea79f721479561ddc8d79e91981fe.tar.xz
a4-6da68cdb8edea79f721479561ddc8d79e91981fe.zip
mid way through refactor when i realize i have another refactor
Diffstat (limited to 'lua/99/id.lua')
-rw-r--r--lua/99/id.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/99/id.lua b/lua/99/id.lua
new file mode 100644
index 0000000..4acaa9e
--- /dev/null
+++ b/lua/99/id.lua
@@ -0,0 +1,6 @@
+local _id = 0
+return function()
+ _id = _id + 1
+ return _id
+end
+