about summary refs log tree commit diff stats
path: root/lua/chupacabra/chupacabra.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/chupacabra/chupacabra.lua')
-rw-r--r--lua/chupacabra/chupacabra.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/chupacabra/chupacabra.lua b/lua/chupacabra/chupacabra.lua
index 9d18b69..4296e19 100644
--- a/lua/chupacabra/chupacabra.lua
+++ b/lua/chupacabra/chupacabra.lua
@@ -23,11 +23,10 @@ end
 function chupacabra.evaluate(tokens, context)
     local stack = {}
 
-    -- FIXME: explore if there is a better way to approach this, so that you don't need to special case the array math
     for _, token in ipairs(tokens) do
         if tonumber(token) then
             table.insert(stack, tonumber(token))
-        elseif token:match("^%b[]$") then -- If the token is an array
+        elseif token:match("^%b[]$") then
             local array = {}
             for number in token:sub(2, -2):gmatch("%S+") do
                 table.insert(array, tonumber(number))