fix: do not look for tags in template dir

This commit is contained in:
lambtho12
2022-05-18 13:19:16 +02:00
parent b60eafa1ca
commit abe8e8b441
2 changed files with 19 additions and 1 deletions

View File

@@ -2720,6 +2720,7 @@ local function FindAllTags(opts)
local i = opts.i
opts.cwd = M.Cfg.home
opts.tag_notation = M.Cfg.tag_notation
opts.templateDir = Path:new(M.Cfg.templates):make_relative(M.Cfg.home)
if not global_dir_check() then
return