Replies: 1 comment 11 replies
-
local function get_table_size(t)
local count = 0
for _, __ in pairs(t) do
count = count + 1
end
return count
end
get_table_size(_G.packer_plugins) |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
Maritsu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Like the title says, I'm looking for a way to get the number/amount of currently installed plugins. Does anyone know whether it's possible to do this? If so, how could I achieve this?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions