kickstart.nvim/lua/plugins/obsidian.lua

35 lines
984 B
Lua
Raw Normal View History

2024-12-03 20:33:56 -04:00
return {
2025-01-04 01:39:32 +00:00
'epwalsh/obsidian.nvim',
version = '*', -- recommended, use latest release instead of latest commit
2024-12-03 20:33:56 -04:00
lazy = true,
2025-01-04 01:39:32 +00:00
ft = 'markdown',
2024-12-03 20:33:56 -04:00
-- 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 path/to/my-vault/*.md",
-- "BufNewFile path/to/my-vault/*.md",
-- },
dependencies = {
-- Required.
2025-01-04 01:39:32 +00:00
'nvim-lua/plenary.nvim',
2024-12-03 20:33:56 -04:00
-- see below for full list of optional dependencies 👇
},
opts = {
workspaces = {
{
2025-01-04 01:39:32 +00:00
name = 'Principal',
path = '~/.obsidian/Principal',
2024-12-03 20:33:56 -04:00
},
2025-01-04 01:39:32 +00:00
-- {
-- name = 'Trabajo',
-- path = '~/.obsidian/Trabajo',
-- },
2024-12-03 20:33:56 -04:00
},
-- see below for full list of options 👇
},
}