rust-tools.nvim icon indicating copy to clipboard operation
rust-tools.nvim copied to clipboard

Too many checks?

Open krims0n32 opened this issue 3 years ago • 3 comments

Hi,

I have an issue but I am not sure if it is related to rust-analyzer or rust-tools. It looks like the lsp checks are performed too frequently, e.g. when focussing the Neovim terminal I see the diagnostics output (icons and virtual text) flashing three times in a row even though the buffer hasn't changed. Is there a way to disable this when focussing the Neovim terminal?

Thanks for an awesome plugin!

krims0n32 avatar Dec 16 '21 16:12 krims0n32

Sounds like a neovim issue probably. Does it happen with other language servers?

simrat39 avatar Dec 17 '21 22:12 simrat39

Only with rust it seems, pyright and lua do not show this issue.

krims0n32 avatar Dec 17 '21 22:12 krims0n32

Can you reproduce this issue with rust-analyzer from lspconfig?

simrat39 avatar Jan 01 '22 19:01 simrat39