Skip to content

leogps/lsp-progress.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

lsp-progress

Using packer

    use {
      "leogps/lsp-progress.nvim",
      event = "LspAttach",  -- optional
    }

Using lazy

    use {
      "leogps/lsp-progress.nvim",
      event = "LspAttach",  -- optional
    }

vim-plug

    Plug "leogps/lsp-progress.nvim"

Configuration (Optional)

    require("lsp-progress").setup({
      position = {
        vertical = "top",      -- "top" | "bottom"
        horizontal = "right",  -- "left" | "right"
        offset_x = 2,          -- horizontal offset
        offset_y = 1,          -- vertical offset
      },

      window = {
        min_width = 30,        -- minimum width of floating window
        border = "single",     -- border style
        focusable = false,
        zindex = 50,
      },

      spinner = {
        frames = { "⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏" },
        interval = 100,        -- spinner update interval in ms
      },

      message = {
        show_client_name = true, -- show LSP client name
        done_text = "Done.",     -- message when LSP finishes
        timeout = 2000,          -- time to hide message in ms
      },

      highlights = {
        text = "#dde185",
        window = "#004687",
        border = "#fffcb0",
      },
    })

Disable auto-init

    vim.g.lsp_progress_disable_auto = true

About

LSP progress visualization for nvim, customizable, unobtrusive and generic.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages