obsidian config correction

This commit is contained in:
Salar Rahmanian 2023-11-05 15:09:24 -08:00
parent a2a4948626
commit bfe51501c0

View file

@ -2,8 +2,8 @@ return {
"epwalsh/obsidian.nvim",
lazy = true,
event = {
"BufReadPre " .. vim.fn.expand "~" .. "/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/Notes/**.md",
"BufNewFile " .. vim.fn.expand "~" .. "/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/Notes/**.md",
"BufReadPre " .. vim.fn.expand "~" .. "\"/Library/Mobile Documents/iCloud~md~obsidian/Documents/Notes/**.md\"",
"BufNewFile " .. vim.fn.expand "~" .. "\"/Library/Mobile Documents/iCloud~md~obsidian/Documents/Notes/**.md\"",
},
dependencies = {
"nvim-lua/plenary.nvim",
@ -18,7 +18,7 @@ return {
workspaces = {
{
name = "personal",
path = "~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/Notes",
path = "\"~/Library/Mobile Documents/iCloud~md~obsidian/Documents/Notes\"",
},
},
use_advanced_uri = false,