Scalafmt and neovim

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

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • formatter.nvim

    I use formatter.nvim for formatting

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • null-ls.nvim

    Discontinued Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

    If you want to run scalafmt standalone, null-ls supports scalafmt. null-ls is a shim to wrap standard programs in a language server interface.

  • lsp-format.nvim

    A wrapper around Neovims native LSP formatting.

    If you already use metals as a language server, it looks like scalafmt support is already built in. If you're using metals in Neovim but not getting formatting, check your lsp configuration. Alternatively, use lsp-format.nvim to ensure formatting happens. That goes for using it with null-ls, too.

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

  • How to disable individual capabilities of LSP servers?

    2 projects | /r/neovim | 13 Apr 2022
  • format.nvim becomes lsp-format.nvim

    3 projects | /r/neovim | 1 Mar 2022
  • Setting Up Razor Support in Neovim for Enhanced C# Development

    2 projects | dev.to | 26 Jan 2024
  • cpp setting problem

    4 projects | /r/neovim | 6 Dec 2023
  • Background highlight opacity?

    1 project | /r/neovim | 2 Dec 2023

Did you konow that Lua is
the 18th most popular programming language
based on number of metions?