A Neovim plugin providing enhanced LSP support for Scala development with Metals language server.
nvim-metals is a Neovim plugin that enhances the Scala development experience by integrating the Metals language server with Neovim's built-in LSP client. It provides advanced features like debugging support, code navigation, and Metals-specific commands directly within the editor. The plugin automates server management and offers extensive customization options for Scala, sbt, and Java projects.
Scala developers who use Neovim as their primary editor and want a robust, feature-complete IDE-like experience with Metals language server support.
Developers choose nvim-metals because it delivers a superior Metals integration compared to basic LSP configurations, offering extended functionality, seamless debugging, and deep editor integration without requiring external plugins for core LSP setup.
A Metals plugin for Neovim
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides extended functionality like specific commands and extensions not available in minimal LSP setups, as highlighted in the features list and discussions.
Supports the Debug Adapter Protocol via nvim-dap, enabling debugging of Scala applications directly within Neovim without leaving the editor.
Uses Coursier to handle the download, installation, and updates of the Metals language server, reducing manual maintenance overhead.
Enables fuzzy-finding and navigation through Metals features using the popular Telescope plugin, enhancing code exploration and productivity.
Requires Neovim v0.11.x or newer, forcing users to upgrade and potentially breaking compatibility with other plugins or existing configurations.
Users must manually configure LSP mappings and integrations, and the plugin is incompatible with nvim-lspconfig for Metals, adding complexity to the setup process.
On Windows, additional steps are needed for Coursier, such as running it once and adding to PATH, which can be cumbersome compared to other platforms.