diff options
| author | HumanEntity <human_entity@icloud.com> | 2023-12-25 14:17:50 +0100 |
|---|---|---|
| committer | HumanEntity <human_entity@icloud.com> | 2023-12-25 14:18:11 +0100 |
| commit | 85c318d6c20f69ea93648f4234de7e1916e14359 (patch) | |
| tree | 3030332f7b5aa6b24a0587e6855c1ca6459d4d51 | |
| parent | 01c0c3b0eb796bcd293b7f97629ddd3889d0c02a (diff) | |
| download | simple-denote.nvim-85c318d6c20f69ea93648f4234de7e1916e14359.tar.gz | |
Fixed error with iterating over table
| -rw-r--r-- | lua/denote/internal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/denote/internal.lua b/lua/denote/internal.lua index fd1249b..83bc251 100644 --- a/lua/denote/internal.lua +++ b/lua/denote/internal.lua @@ -103,7 +103,7 @@ function M.search(date, name, tags, func) for _, item in pairs(items_copy) do local item_tags_pre = M.get_tags(item) local item_tags = {} - for _, i in item_tags_pre do + for _, i in pairs(item_tags_pre) do item_tags[i] = 0 end local good = true |
