Neovim linting & formatting

After changing my config to use the Neovim LSP, my old formatting and linting setup with Ale didn't make sense to keep, so I've been relying on the LSPs and missing the linters and formatters.

It turns out there are some new Neovim specific plugins now.

Conform - Lightweight yet powerful formatter plugin for Neovim

Nvim-lint - An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.

Configure Linting, Formatting, and Autocompletion in Neovim and How To Setup Linting & Formatting In Neovim And Replace null-ls where both helpful in getting things working.

If you have a linter that is also an LSP, just use the LSP version.

StandardRB was timing out for me, so I needed to up the timeout_ms setting.

I'm much happier having these tools set up again!

Subscribe to WebDev news from candland.net

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe