Pete Walsh
Pete Walsh
Hey, here's a slightly less hacky way to accomplish the same thing: Add a `enter_note` callback to your obsidian.nvim config: ```lua callbacks = { -- Runs anytime you enter the...
I'm willing to accept a PR for making this more easily configurable.
Yea @DRKolev-code, there's not a good way to do this at the moment but I'm open to proposals.
Is the image a PNG? I believe at the moment only PNG format is supported.
I'm happy to review a PR for making this functionality more robust
@Trap101 @jacostag thanks for this, I meant to review a while ago but it fell off my radar. @Trap101 if you're still around could you fix the typo and merge...
Hey @h0pes does cmp work with other cmp sources? Any error messages in the logs?
You should check `:messages` as well as `:Noice` (if you have `noice.nvim`) after trying to get a completion. If you don't see anything there, I recommend poking around in [`cmp_obsidian.lua`](https://github.com/epwalsh/obsidian.nvim/blob/main/lua/cmp_obsidian.lua)....
Possibly related to #538
Agreed, the template functionality was half-baked. The template functions should really have access to the `obsidian.Note` object directly. I'm open to PRs for improvements here.