Skip to content

Commit 04a299b

Browse files
committed
refactor: use utils.tags_to_string()
1 parent 6866d49 commit 04a299b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/org/mappings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function OrgMappings:set_tags(tags)
5757
end)
5858
end
5959
if type(tags) == 'table' then
60-
tags = string.format(':%s:', table.concat(tags, ':'))
60+
tags = utils.tags_to_string(tags)
6161
end
6262

6363
return tags

0 commit comments

Comments
 (0)