-
Notifications
You must be signed in to change notification settings - Fork 246
Open
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Describe the bug
I am not able to use any of the :Obsidian* commands despite Lazyvim showing obsidian.nvim as loaded.
Trying to use e.g. :ObsidianNew
returns an Error saying it is not an editor command
I am opening a file in my Vault. Also tested just assigning to markdown files which also did not work.
Config
~/.config/nvim/lua/plugins/init.lua
-- Obisidian integration
{
"epwalsh/obsidian.nvim",
lazy = false,
-- ft = "markdown",
event = {
"BufReadPre " .. vim.fn.expand "~" .. "/Nextcloud/Obsidian/*.md",
"BufNewFile " .. vim.fn.expand "~" .. "/Nextcloud/Obsidian/*.md",
},
dependencies = {
-- Required
"nvim-lua/plenary.nvim",
},
},
Environment
nvim --version
NVIM v0.11.3
Build type: RelWithDebInfo
LuaJIT 2.1.1753364724
Run "nvim -V1 -v" for more info
nvim --headless -c 'lua require("obsidian").info()' -c q
ERROR: it appears obsidian.nvim has not been setup.
Please ensure obsidian.nvim loads upfront (e.g. by setting 'lazy=false' with your plugin manager) and then run this again.%
As you can see in my config i set it to not lazy-load. Not sure what the problem here is.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working