From c489d393695e90d424f9ae51e35c4d42358e6a71 Mon Sep 17 00:00:00 2001 From: Squibid Date: Fri, 9 Aug 2024 02:45:31 -0400 Subject: yes there's a bit of java in my nvim config why do you ask? --- lua/conf/plugins/fidget.lua | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 lua/conf/plugins/fidget.lua (limited to 'lua/conf/plugins/fidget.lua') diff --git a/lua/conf/plugins/fidget.lua b/lua/conf/plugins/fidget.lua new file mode 100644 index 0000000..e36488e --- /dev/null +++ b/lua/conf/plugins/fidget.lua @@ -0,0 +1,34 @@ +return { 'j-hui/fidget.nvim', + disable = vim.version().minor < 9, + 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 = { + override_vim_notify = true, + configs = { + default = notification_defaults, + }, + view = { + icon_separator = " ", + group_separator = "---", + group_separator_hl = "Comment", + }, + window = { + zindex = 44, + relative = "win" + } + } + } + end +} -- cgit v1.2.1