fidget.lua 474 B

1234567891011121314151617181920
  1. local status, fidget = pcall(require, "fidget")
  2. if not status then
  3. vim.notify("没有找到 fidget")
  4. return
  5. end
  6. fidget.setup({
  7. text = {
  8. spinner = "zip", -- animation shown when tasks are ongoing
  9. done = "✔", -- character shown when all tasks are complete
  10. commenced = "Started", -- message shown when task starts
  11. completed = "Completed", -- message shown when task completes
  12. },
  13. sources = {
  14. ["null-ls"] = {
  15. ignore = true,
  16. },
  17. },
  18. })