From 36af5d5530005de4e2000adc64b30e4e1c939469 Mon Sep 17 00:00:00 2001 From: Joost Agterhoek Date: Wed, 20 Nov 2024 13:45:42 +0100 Subject: [PATCH] added follow URL functionality --- lua/custom/plugins/obsidian.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/custom/plugins/obsidian.lua b/lua/custom/plugins/obsidian.lua index fee7785..ce168c3 100644 --- a/lua/custom/plugins/obsidian.lua +++ b/lua/custom/plugins/obsidian.lua @@ -31,5 +31,9 @@ return { -- ['x'] = { char = '✅', hl_group = 'ObsidianDone' }, -- }, }, + ---@param url string + follow_url_func = function(url) + vim.ui.open(url) + end, }, }