Linting - neovim/nvim-lspconfig GitHub Wiki

Integrating linting from non-language server sources

Many languages do not have available language server support. As of Neovim 0.6, diagnostics from language servers are only one source for the generic diagnostic module. Diagnostics can be populated from other sources, just as dedicated linting programs which do not adhere to the language server protocol via small, adapter plugins or language servers. Additional plugins can be installed to get more information about code.

  • ALE supports a wide array of linters and language servers, and outputs to Neovim diagnostics by default in Neovim 0.6+.
  • nvim-lint adapts dedicated linter output format to Neovim diagnostics, to provide linting from linter programs that are not language servers.

Alternatives:

Adapter language servers