Fixes issues with switching to snacks explorer
This commit is contained in:
parent
1699bd2574
commit
8892845c03
6 changed files with 12 additions and 17 deletions
|
|
@ -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", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue