mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: fix the notification level to use a titlecased string
This commit is contained in:
parent
f25ef0f07b
commit
ee6fb17d33
2 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
local state = ya.sync(function() return cx.active.current.cwd end)
|
local state = ya.sync(function() return cx.active.current.cwd end)
|
||||||
|
|
||||||
local function fail(s, ...) ya.notify { title = "Fzf", content = string.format(s, ...), timeout = 5, level = "error" } end
|
local function fail(s, ...) ya.notify { title = "Fzf", content = string.format(s, ...), timeout = 5, level = "Error" } end
|
||||||
|
|
||||||
local function entry()
|
local function entry()
|
||||||
local _permit = ya.hide()
|
local _permit = ya.hide()
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ end)
|
||||||
|
|
||||||
local set_state = ya.sync(function(st, empty) st.empty = empty end)
|
local set_state = ya.sync(function(st, empty) st.empty = empty end)
|
||||||
|
|
||||||
local function fail(s, ...) ya.notify { title = "Zoxide", content = s:format(...), timeout = 5, level = "error" } end
|
local function fail(s, ...) ya.notify { title = "Zoxide", content = s:format(...), timeout = 5, level = "Error" } end
|
||||||
|
|
||||||
local function options()
|
local function options()
|
||||||
-- https://github.com/ajeetdsouza/zoxide/blob/main/src/cmd/query.rs#L92
|
-- https://github.com/ajeetdsouza/zoxide/blob/main/src/cmd/query.rs#L92
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue