From ad698b11fc89401e77f1773abb1aee9dffbd2076 Mon Sep 17 00:00:00 2001 From: HumanEntity Date: Sun, 24 Dec 2023 23:24:09 +0100 Subject: Should fix bad taging --- lua/denote/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/denote/util.lua b/lua/denote/util.lua index 7cffd23..95ee7dc 100644 --- a/lua/denote/util.lua +++ b/lua/denote/util.lua @@ -19,7 +19,7 @@ function M.file(name, tags) if tags then for i, tag in pairs(tags) do tags_str = tags_str .. tag - if i < #tags - 1 then + if i < #tags then tags_str = tags_str .. M.config.filename.tag_sep end end -- cgit v1.2.3