diff --git a/home-manager/features/neovim/config/lua/plugins/obsidian.lua b/home-manager/features/neovim/config/lua/plugins/obsidian.lua index 0959d82..ef80724 100644 --- a/home-manager/features/neovim/config/lua/plugins/obsidian.lua +++ b/home-manager/features/neovim/config/lua/plugins/obsidian.lua @@ -41,9 +41,12 @@ return { enable = false, }, - -- Put the note ID in the wiki links - wiki_link_func = "prepend_note_id", - preferred_link_style = "wiki", + link = { + style = "wiki", + }, + + -- Disable the legacy commands and silence the deprecation warning. + legacy_commands = false, -- Customize how note IDs are generated given an optional title. ---@param title string|? @@ -60,9 +63,5 @@ return { end end end, - - follow_url_func = function(url) - vim.ui.open(url) -- Use the built-in open, need Neovim 0.10.0+ - end, }, }