mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.77k stars 191 forks source link

Feature: Please provide a `LintInfo` command #559

Closed cryptomilk closed 3 months ago

cryptomilk commented 3 months ago

Please provide a LintInfo command similar to ConformInfo. It shows a floating window with something like this:

Formatters for this buffer:
<none>

Other formatters:
gofmt ready (go) /usr/bin/gofmt
rustfmt ready (rust) /usr/bin/rustfmt
shfmt ready (sh) /usr/bin/shfmt

This way you can see which linter is active for the current buffer.

mfussenegger commented 3 months ago

Isn't this easily visible in your configuration?

The problem is that nvim-lint doesn't have a holistic view into what linters are "active" for a given buffer.

There are:

This is not like LSP where you start a process that keeps running and is attached/detached to buffers