show only plugin name

This commit is contained in:
yago 2015-01-06 14:51:38 +01:00
parent 7c8c56655f
commit 859fb485fa

View File

@ -70,7 +70,9 @@ function list_plugins(only_enabled)
end end
end end
if not only_enabled or status == '' then if not only_enabled or status == '' then
text = text..v..'\b\t'..status..'\n' -- get the name
v = string.match (v, "(.*)%.lua")
text = text..v..' '..status..'\n'
end end
end end
return text return text