Which autoformatting plugin do you recommend?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • format.nvim

    Discontinued A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]

  • I'm switching from coc.nvim to the built-in LSP, and I used to let coc.nvim do the autoformatting. I've found three plugins to do autoformatting: format.nvim, formatter.nvim and neoformat. The first two are written in Lua and look very similar. Which one would you recommend?

  • efm-langserver

    General purpose Language Server

  • So maybe you should fill an issue, because there's no issue about crash in https://github.com/mattn/efm-langserver/issues

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • coc.nvim

    Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

  • I'm switching from coc.nvim to the built-in LSP, and I used to let coc.nvim do the autoformatting. I've found three plugins to do autoformatting: format.nvim, formatter.nvim and neoformat. The first two are written in Lua and look very similar. Which one would you recommend?

  • formatter.nvim

  • I'm switching from coc.nvim to the built-in LSP, and I used to let coc.nvim do the autoformatting. I've found three plugins to do autoformatting: format.nvim, formatter.nvim and neoformat. The first two are written in Lua and look very similar. Which one would you recommend?

  • neoformat

    :sparkles: A (Neo)vim plugin for formatting code.

  • I'm switching from coc.nvim to the built-in LSP, and I used to let coc.nvim do the autoformatting. I've found three plugins to do autoformatting: format.nvim, formatter.nvim and neoformat. The first two are written in Lua and look very similar. Which one would you recommend?

  • vim-autoformat

    Provide easy code formatting in Vim by integrating existing code formatters.

  • I use Chiel92/vim-autoformat it will work with most popular code formatters out of the box. I have it setup so that it autoformats on save. It's also popular and kept up to date. My config looks like:

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts