mirror of
https://github.com/Ascyii/gpg.yazi.git
synced 2026-01-01 02:44:24 -05:00
Return test
This commit is contained in:
2
main.lua
2
main.lua
@@ -15,6 +15,8 @@ return {
|
||||
entry = function()
|
||||
ya.emit("escape", { visual = true })
|
||||
|
||||
return ya.notify { title = "Gpg", content = "No file selected", level = "warn", timeout = 5 }
|
||||
|
||||
local urls = selected_or_hovered()
|
||||
if #urls == 0 then
|
||||
return ya.notify { title = "Gpg", content = "No file selected", level = "warn", timeout = 5 }
|
||||
|
||||
Reference in New Issue
Block a user