Issues configuring obsidian.nvim #401
Unanswered
pete-dot-m
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hey @pete-dot-m, the first snippet looks fine: require("obsidian").setup({
workspaces = {
{
name = "myvault",
path = "~/vaults/myvault",
},
},
completion = {
-- Set to false to disable completion.
nvim_cmp = true,
... But the 2nd snippet does not: ...
{
"epwalsh/obsidian.nvim",
version = "*", -- recommended, use latest release instead of latest commit
lazy = true,
ft = "markdown",
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {
},
},
... The problem with the 2nd snippet is that |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I'll apologize in advance as this may be a bit long, but I wanted to include as much information as possible...
First off:
Pop! Os latest (22.04 w/ kernel 6.6.10-76060610)
I3 v4.23
NeoVim v0.9.5 using Lazy for plugin management
obsidian.nvim v3.2.0
Alacritty v0.14.0-dev
Obsidian 1.5.3
I have my Obsidian vault configured as "myvault" stored in ~/vaults/myvault and have configured the Git plugin to sync to without issue. Everything from the Obsidian side works as expected.
My issues come up when trying to get nvim/obsidian.nvim up and running. As stated above, I'm using Lazy for package management, and I've got my individual configs split out into separate .lua files, same as omerxx' dotfiles
pete@pop-os: ~ $ tree vaults [8:21:53] vaults └── myvault ├── 0.Inbox │ ├── 2024-02-13.md │ └── something.md ├── 1.Projects │ ├── City Service.md │ └── NLWO.md ├── 2.Areas ├── 3.Resources │ └── 2nd Brain.md ├── 4.Archive ├── My Areas.md ├── My Projects.md ├── My Resources.md └── Templates └── Resource Template.md 7 directories, 9 files
I add the reference to my vault in my obsidian.lua file:
obsidian.lua...
But no matter how I name my vault and/or directory structure, I always get the following error when starting up nvim:
For those interested, I've captured the rest of my relevant setup:
init.lua...
lazy.lua...
Any suggestions would be greatly appreciated!
Thanks, pete-dot-m!
Beta Was this translation helpful? Give feedback.
All reactions