From ef56addb1476c3039757a312d11db405c159d0b5 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 7 Aug 2022 22:13:46 -0700 Subject: [PATCH] prep for new format; accept pipe as tag separator --- library/lua/helpdb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/lua/helpdb.lua b/library/lua/helpdb.lua index 7bc95bc75..a6c635ee0 100644 --- a/library/lua/helpdb.lua +++ b/library/lua/helpdb.lua @@ -211,7 +211,7 @@ local function update_entry(entry, iterator, opts) ::continue:: end entry.tags = {} - for _,tag in ipairs(tags:split('[ ,]+')) do + for _,tag in ipairs(tags:split('[ ,|]+')) do entry.tags[tag] = true end if #lines > 0 then