Fixes issues with switching to snacks explorer

This commit is contained in:
Michel Fedde 2025-02-16 22:07:56 +01:00
parent 1699bd2574
commit 8892845c03
6 changed files with 12 additions and 17 deletions

View file

@ -1,7 +1,7 @@
local explorerConfig = {
actions = {
openWithApp = function(picker)
local path = picker:selected({ fallback = true })[1].file
local path = picker:current().file
local filename = vim.fn.fnamemodify(path, ":t")
vim.notify(filename, "info", {