You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to write in some new link and do :ObsidianLink
The text was updated successfully, but these errors were encountered:
RobberFox
changed the title
"File already exists" error when creating new noties with obsidian.nvim
"File already exists" error when creating new notes with obsidian.nvimDec 17, 2024
Thanks for reporting and for the minimal config suggestion, I hope it doesn't matter because I'm not using the exact same config when I try this (I don't have custom.obsidian_opts). Maybe we can focus on one of the ways to reproduce the problem and see if we do the same thing. What I do is:
Inside a.md I give the command :ObsidianNew b.md.
A b document opens in obsidian, in neovim I get a warning: File "~/Documents/test/b.md" has been created after editing started.
I press L in neovim. An empty file b.md is opened in neovim, I can edit and save it and the change is reflected in Obsidian.
I've tried a few different variants of the scenario that behave in the same way but perhaps we can focus on that exact one first to see what's different when you do it. I'm using Obsidian 1.7.7.
First thing to try is probably to run obsidian.nvim without any custom options and see how that behaves.
When I create a new note (either from a link, or with
:ObsidianNew
, etc.) next things happen:obsidian.nvim
's header aliasHere is a minimal working plugin
Try to write in some new link and do
:ObsidianLink
The text was updated successfully, but these errors were encountered: