diff options
| author | srdusr <trevorgray@srdusr.com> | 2023-05-13 15:52:07 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2023-05-13 15:52:07 +0200 |
| commit | b1c5565924725f7c94e0cd8677ea8914aa0aba45 (patch) | |
| tree | cee78973c5eabacb9ac6a49386ace3902cd85282 /.config/nvim/lua/plugins/fidget.lua | |
| parent | 0af6d5533bc0fbcd8038ce134d1bc7b68a9cfbd5 (diff) | |
| parent | 11a87e76c1cc11e9f7cb1be98a789463e57e827c (diff) | |
| download | dotfiles-b1c5565924725f7c94e0cd8677ea8914aa0aba45.tar.gz dotfiles-b1c5565924725f7c94e0cd8677ea8914aa0aba45.zip | |
Merge commit '7de320718f2b5ee487de4b9fe04661a55674cf37'
Diffstat (limited to '.config/nvim/lua/plugins/fidget.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/fidget.lua | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/.config/nvim/lua/plugins/fidget.lua b/.config/nvim/lua/plugins/fidget.lua index 0f56a6b..d401c5f 100644 --- a/.config/nvim/lua/plugins/fidget.lua +++ b/.config/nvim/lua/plugins/fidget.lua @@ -1,33 +1,34 @@ require("fidget").setup({ + --event = "LspAttach", text = { --spinner = "pipe", -- (Default) animation shown when tasks are ongoing --spinner = "hamburger", -- animation shown when tasks are ongoing --spinner = "dots_pulse", -- animation shown when tasks are ongoing - spinner = "dots", -- animation shown when tasks are ongoing - done = "✔", -- character shown when all tasks are complete - commenced = "Started", -- message shown when task starts - completed = "Completed", -- message shown when task completes + spinner = "dots", -- animation shown when tasks are ongoing + done = "✔", -- character shown when all tasks are complete + commenced = "Started", -- message shown when task starts + completed = "Completed", -- message shown when task completes }, fmt = { task = function(task_name, message, percentage) - if task_name == "diagnostics" then - return false - end - return string.format( - "%s%s [%s]", - message, - percentage and string.format(" (%s%%)", percentage) or "", - task_name - ) + if task_name == "diagnostics" then + return false + end + return string.format( + "%s%s [%s]", + message, + percentage and string.format(" (%s%%)", percentage) or "", + task_name + ) end, }, --sources = { -- Sources to configure - --["null-ls"] = { -- Name of source - --ignore = true, -- Ignore notifications from this source - --}, + --["null-ls"] = { -- Name of source + --ignore = true, -- Ignore notifications from this source + --}, --}, debug = { - logging = false, -- whether to enable logging, for debugging - strict = false, -- whether to interpret LSP strictly + logging = false, -- whether to enable logging, for debugging + strict = false, -- whether to interpret LSP strictly }, }) |
