aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorHumanEntity <human_entity@icloud.com>2023-12-24 23:19:07 +0100
committerHumanEntity <human_entity@icloud.com>2023-12-24 23:19:07 +0100
commitf70b230e717b278e2205de579a00754e972ba3b7 (patch)
tree1666d5bae5232da29575fe42f5ffdacb3f10b0ec /lua
parent86514ef2d77dc16172d239a27470c30a5234b7d4 (diff)
downloadsimple-denote.nvim-f70b230e717b278e2205de579a00754e972ba3b7.tar.gz
Maybe fixed error with tagging
Diffstat (limited to 'lua')
-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 657da9d..7cffd23 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 - 1 then
tags_str = tags_str .. M.config.filename.tag_sep
end
end