swap to obsidian.nvim fork

This commit is contained in:
2025-08-18 12:12:54 +01:00
parent d9f0034693
commit 0cdec9232a

View File

@ -1,8 +1,12 @@
local note_location = vim.env.OBSIDIAN_VAULT
if note_location == '' then
note_location = '~/notes'
end
return { return {
{ {
'epwalsh/obsidian.nvim', 'obsidian-nvim/obsidian.nvim',
version = '*', version = '*',
lazy = false, ft = 'markdown',
dependencies = { dependencies = {
'nvim-lua/plenary.nvim', 'nvim-lua/plenary.nvim',
}, },
@ -18,10 +22,18 @@ return {
}) })
end, end,
opts = { opts = {
legacy_commands = false,
picker = {
name = 'fzf-lua',
},
completion = {
nvim_cmp = false,
blink = true,
},
workspaces = { workspaces = {
{ {
name = 'notes', name = 'notes',
path = '~/notes', path = note_location,
}, },
}, },
}, },