some autocomplete improvements

This commit is contained in:
Manuel Simon Hirsig
2015-10-16 22:07:02 +02:00
parent bbfde22d58
commit ef88779f0a
6 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -240,7 +240,7 @@ function Aux.util.group_by(tables, keys)
local groups = {}
Aux.util.map(tables, function(table)
for _, group in ipairs(groups) do
if Aux.util.all(keys, function(key) table[key] == group[1][key] end) then
if Aux.util.all(keys, function(key) return table[key] == group[1][key] end) then
tinsert(group, table)
return
end