plugin revamp
This commit is contained in:
parent
70caae6dcb
commit
6fe9d1b656
11 changed files with 224 additions and 59 deletions
16
lua/custom/plugins/obsidian.lua
Normal file
16
lua/custom/plugins/obsidian.lua
Normal 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'
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue