Skip to content

Commit

Permalink
fix(obsidian-nvim): Make follow_url_func a function and pass url as a…
Browse files Browse the repository at this point in the history
… param (#871)
  • Loading branch information
manuuurino authored Apr 11, 2024
1 parent c6c5991 commit 546e9dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/astrocommunity/note-taking/obsidian-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ return {

-- Optional, by default when you use `:ObsidianFollowLink` on a link to an external
-- URL it will be ignored but you can customize this behavior here.
follow_url_func = vim.ui.open or require("astrocore").system_open,
follow_url_func = vim.ui.open or function(url) require("astrocore").system_open(url) end,
},
}

0 comments on commit 546e9dc

Please sign in to comment.