Replies: 3 comments 5 replies
-
You could set lazy to false or you can open a markdown file and it should be loaded up. I ran into this issue as well. I am personally looking for a way to make lazy load it when I open nvim on my main second brain directory but have yet to find one. see this section of your config
the `ft="markdown" makes lazy load the plugin whenever ANY markdown file is opened, you can use the event which is commented out if you only want it to load when a markdown file from your vaults are opened. I also do not believe that you need to require obsidian.nvim in your init.lua as lazy should take care of that when you add the config file. |
Beta Was this translation helpful? Give feedback.
-
This lazy loads the plugin only when you use these commands...I believe this should work to make those commands available while its not loaded. |
Beta Was this translation helpful? Give feedback.
-
I'm having roughly the same issue. I have added those
my
|
Beta Was this translation helpful? Give feedback.
-
Hello,
Sorry if this is a dumb question.
I really like this plugin!
I'm just having a hard time getting it setup with LazyVim
When I start neovim, and I try to call any of the Obsidian commands, they don't show up. Which makes me think it's a lazy loading issue. Should I set lazy to false?
Should I include all my setup details not in my plugin file but in my init.lua file?
Cheers and thanks for your help!
Currently my init.lua file looks like this:
and then in my lua/plugins/obsidian.lua file, I have this (mostly just copy pasted):
Beta Was this translation helpful? Give feedback.
All reactions