1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-04 06:50:04 +08:00
SpaceVim/lua/spacevim/api/data/list.lua

13 lines
124 B
Lua
Raw Normal View History

2019-07-11 18:26:29 +08:00
-- @idea add list lua api
-- pop({list})
local list = {}
function list.pop(l)
return table.remove(l)
2019-07-11 18:26:29 +08:00
end
return list