aboutsummaryrefslogtreecommitdiff
path: root/lua/denote
diff options
context:
space:
mode:
authorHumanEntity <human_entity@icloud.com>2023-12-24 23:24:09 +0100
committerHumanEntity <human_entity@icloud.com>2023-12-24 23:24:09 +0100
commitad698b11fc89401e77f1773abb1aee9dffbd2076 (patch)
tree5de4b53162b927790d1cac31e34c042cfd971687 /lua/denote
parentf70b230e717b278e2205de579a00754e972ba3b7 (diff)
downloadsimple-denote.nvim-ad698b11fc89401e77f1773abb1aee9dffbd2076.tar.gz
Should fix bad taging
Diffstat (limited to 'lua/denote')
-rw-r--r--lua/denote/util.lua2
1 files changed, 1 insertions, 1 deletions
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