From 2e3c7c1833d7660fff043cf0eb1a67fa86edf29c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 10 Jun 2019 11:30:46 +0100 Subject: [PATCH] [Minor] Settings: Treat settings section name as implicit id --- src/plugins/lua/settings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index 4535ab7b3..de30ada5a 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -712,6 +712,7 @@ local function process_settings_table(tbl) -- Now we must process actions if elt['symbols'] then out['symbols'] = elt['symbols'] end + if not elt.id then elt.id = name end if elt['id'] then out['id'] = elt['id'] settings_ids[elt['id']] = out -- 2.39.5