Description:
This pull request addresses the issue where a bib file specified in bib.default_path is not found. The issue was caused by an incorrect file path in the codebase. This issue was caused by the fact that M.bib_paths.default was being populated in the scope of an if statement that is skipped unless find_in_root and root_dir are defined.
Changes Made:
Moved population of M.bib_paths.default with bib_path outside of if statement in lua/mkdnflow/bib.lua
Skip concatenating anchor to path is handlePath() in lua/mkdnflow/paths.lua is anchor is false
Testing:
Tested the changes locally on Fedora environment, NVIM v0.9.5, LuaJIT 2.1.1692716794
Issue: Fixes issue #193
Description: This pull request addresses the issue where a bib file specified in
bib.default_path
is not found. The issue was caused by an incorrect file path in the codebase. This issue was caused by the fact thatM.bib_paths.default
was being populated in the scope of an if statement that is skipped unlessfind_in_root
androot_dir
are defined.Changes Made:
M.bib_paths.default
withbib_path
outside of if statement inlua/mkdnflow/bib.lua
anchor
topath
ishandlePath()
inlua/mkdnflow/paths.lua
is anchor isfalse
Testing: Tested the changes locally on Fedora environment, NVIM v0.9.5, LuaJIT 2.1.1692716794