swap to obsidian.nvim fork
This commit is contained in:
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user