Skip to content

Just echo the LSP progress, its that simple

License

Notifications You must be signed in to change notification settings

deathbeam/lspecho.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lspecho.nvim

Just echo the LSP progress, its that simple.

People put LSP progress to statusline or to corner as virtual text but you can also just echo it and it will be displayed on cmdline thats empty most of the time anyway and 1 whole line is more than enough space for LSP status. Originally I wrote this for my dotfiles but I figured might as well just make it plugin.

lsp-progress

Installation

Just use lazy.nvim or :h packages with git submodules or something else I don't care. Read the documentation of whatever you want to use.

Usage

Just require and call setup and thats it. NOTE: You dont need to provide the configuration, below is just default config, you can just call setup with no arguments for default.

require("lspecho").setup {
    echo = true, -- Echo progress messages, if set to false you can use .message() to get the current message
    decay = 3000, -- Message decay time in milliseconds
}

Similar projects