aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumanEntity <human_entity@icloud.com>2023-12-25 13:13:24 +0100
committerHumanEntity <human_entity@icloud.com>2023-12-25 13:13:24 +0100
commit892cf78af8d9cf6561fc19c2224ceb6c4e1f1dbb (patch)
tree524ad9ad04e079367d74edc85cc3c2ee1aa4b728
parent8b6155bba93c01a3068b1b9a1603d677b5eb7cad (diff)
downloadsimple-denote.nvim-892cf78af8d9cf6561fc19c2224ceb6c4e1f1dbb.tar.gz
Fixed wrong matcher for date
-rw-r--r--lua/denote/internal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/denote/internal.lua b/lua/denote/internal.lua
index 9db0596..a559cd1 100644
--- a/lua/denote/internal.lua
+++ b/lua/denote/internal.lua
@@ -61,12 +61,12 @@ function M.search(date, name, func)
if date.month then
matcher = matcher .. date.month
else
- matcher = "%d%d"
+ matcher = matcher .. "%d%d"
end
if date.day then
matcher = matcher .. date.day
else
- matcher = "%d%d"
+ matcher = matcher .. "%d%d"
end
matcher = matcher .. config.filename.date_sep .. config.filename.date_sep