add obsidian.nvim
This commit is contained in:
parent
543a87b647
commit
c740bd0b9a
1 changed files with 21 additions and 0 deletions
21
lua/plugins/obsidian.nvim
Normal file
21
lua/plugins/obsidian.nvim
Normal 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,
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in a new issue