summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index e7a1142..19052a0 100644
--- a/init.lua
+++ b/init.lua
@@ -1078,6 +1078,16 @@ local function gather_descs()
end
end
end
+
+ -- ... and gather all groups used in connects_to
+ if def.connects_to ~= nil then
+ for c=1, #def.connects_to do
+ if string.sub(def.connects_to[c],1,6) == "group:" then
+ local group = string.sub(def.connects_to[c],7,-1)
+ miscgroups[group] = true
+ end
+ end
+ end
end
-- 2nd pass: Add entries