mirror of
https://github.com/folke/snacks.nvim
synced 2025-08-04 10:49:08 +00:00
feat(gitbrowse): opts.notify
This commit is contained in:
parent
243655796e
commit
a856952ab2
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ function M._open(opts)
|
|||
|
||||
local function open(remote)
|
||||
if remote then
|
||||
if opts.notify then
|
||||
if opts.notify ~= false then
|
||||
Snacks.notify(("Opening [%s](%s)"):format(remote.name, remote.url), { title = "Git Browse" })
|
||||
end
|
||||
opts.open(remote.url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue