Skip to content

Updating config from legacy config to v1.4 #247

@daUnknownCoder

Description

@daUnknownCoder

I m way back and using the old config, and there are some options such as poll_rate which went over my head and there are a few missing options...

this is my feature rich old config:

return {
  "j-hui/fidget.nvim",
  event = "LspAttach",
  config = function()
    local icons_ok, icons = pcall(require, "NeutronVim.core.icons")
    if not icons_ok then
      print("Unable to import icons!")
    end
    local fidget_status_ok, fidget = pcall(require, "fidget")
    if not fidget_status_ok then
      print("fidget not found!")
    end
    fidget.setup({
      text = {
        --stylua: ignore
        spinner = { "", "", "", "", "", "", "", "" },
        done = icons.ui.Check .. "Successfully Initialized:",
        commenced = icons.ui.CircleSmallEmpty, -- CircleSmallEmpty = "○ ",
        completed = icons.ui.CircleSmall, -- CircleSmall = "● ",
      },
      timer = {
        spinner_rate = 200,
        fidget_decay = 3000,
        task_decay = 3000,
      },
      window = {
        relative = "editor",
        blend = 0,
        border = "rounded",
      },
      debug = {
        logging = true,
        strict = true,
      },
    })
  end,
  lazy = true,
}

so can you pls help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions