37 lines
846 B
Lua
37 lines
846 B
Lua
return { "j-hui/fidget.nvim",
|
|
disable = not vim.fn.has("nvim-0.9.0"),
|
|
branch = "v1.6.1",
|
|
function()
|
|
local notification_defaults = require("fidget.notification").default_config
|
|
notification_defaults["icon"] = ""
|
|
|
|
require("fidget").setup {
|
|
progress = {
|
|
display = {
|
|
progress_icon = {
|
|
pattern = "line",
|
|
period = 1
|
|
},
|
|
done_icon = ":)"
|
|
}
|
|
},
|
|
notification = {
|
|
filter = vim.log.levels.DEBUG,
|
|
override_vim_notify = true,
|
|
configs = {
|
|
default = notification_defaults
|
|
},
|
|
view = {
|
|
icon_separator = " ",
|
|
group_separator = "---",
|
|
group_separator_hl = "Comment"
|
|
},
|
|
window = {
|
|
zindex = 44,
|
|
relative = "editor"
|
|
}
|
|
}
|
|
}
|
|
end
|
|
}
|