plugin revamp

This commit is contained in:
NotAI 2024-12-08 14:20:27 -05:00
parent 70caae6dcb
commit 6fe9d1b656
11 changed files with 224 additions and 59 deletions

View file

@ -0,0 +1,16 @@
return {
'epwalsh/obsidian.nvim',
version = "*",
lazy = true,
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
event = {
-- If you want to use the home shortcut '~' here you need to call 'vim.fn.expand'.
-- E.g. "BufReadPre " .. vim.fn.expand "~" .. "/my-vault/*.md"
-- refer to `:h file-pattern` for more examples
"BufReadPre $XDG_DOCUMENTS_DIR/obsidian/*/*.md",
"BufNewFile $XDG_DOCUMENTS_DIR/obsidian/*/*.md",
},
dependencies = {
'nvim-lua/plenary.nvim'
},
}