add obsidian.nvim

This commit is contained in:
Salar Rahmanian 2023-11-05 10:05:31 -08:00
parent 543a87b647
commit c740bd0b9a

21
lua/plugins/obsidian.nvim Normal file
View file

@ -0,0 +1,21 @@
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",
},
dependencies = {
"nvim-lua/plenary.nvim",
},
opts = {
workspaces = {
{
name = "personal",
path = "~/Library/Mobile\ Documents/iCloud~md~obsidian/Documents/Notes",
},
},
use_advanced_uri = false,
},
}