:ObsidianFollowLink vsplit
only works when the file's buffer does not exist
#501
Labels
bug
Something isn't working
🐛 Describe the bug
If nvim has never loaded the target file,
:ObsidianFollowLink vsplit
(along with thehsplit
variant) works as expected, opening the file in a new window. However, if nvim had loaded the file (regardless of if the buffer still exists or not), the command would open the file in the current window. I would expect that the command respects the buffer list, creating a new window only when the buffer is not actively displayed elsewhere.Config
Environment
nvim --version
nvim --headless -c 'lua require("obsidian").info()' -c q
The text was updated successfully, but these errors were encountered: