nvim-lspconfig VS mason-lspconfig.nvim

Compare nvim-lspconfig vs mason-lspconfig.nvim and see what are their differences.

mason-lspconfig.nvim

Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim. (by williamboman)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nvim-lspconfig mason-lspconfig.nvim
529 43
11,413 3,154
2.2% 3.3%
9.8 7.9
3 days ago about 1 month ago
Lua Lua
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nvim-lspconfig

Posts with mentions or reviews of nvim-lspconfig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-01-02.
  • How to setup VueJs in Neovim (January 2025)
    4 projects | dev.to | 2 Jan 2025
    Packages that we will use : blink.cmp for autocompletion, typescript-tools for the typescript LSP, neovim/nvim-lspconfig to set up the LSP, and Mason so we can install volar.
  • Setting Up Neovim
    5 projects | dev.to | 1 Jan 2025
    Check configs.md to ensure your language's LSP server is present there and edit the configs/lspconfig.lua file to add your language's LSP.
  • How to Setup Vim for Kotlin Development
    12 projects | dev.to | 27 Dec 2024
    Neovim Install the nvim-lspconfig plugin to make configuration of the LSP client simpler. Then update your init.lua to tell Neovim which filetypes to use the language server for (i.e. .kt and .kts extensions). The LSP client will try to the start the sever by running the kotlin_language_server binary. You can directly point Neovim to the location of the binary, or include this directory in your $PATH.
  • Lite 🚀 ApolloNvim Distro 2024
    47 projects | dev.to | 18 Oct 2024
    👉 With LSP in this installation, I use Coc for its simplicity without the need to intervene in the Coc configuration. LSP has been very useful in my Helix modal editor to configure Helixu.
  • Simple Neovim config
    6 projects | dev.to | 18 Sep 2024
  • Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
    25 projects | dev.to | 24 Jun 2024
    neovim/nvim-lspconfig: Quickstart configs for Nvim LSP
  • JetBrains' unremovable AI assistant meets irresistible outcry
    5 projects | news.ycombinator.com | 3 Feb 2024
    I suggest looking for blog posts about this, you're gunnuh wanna pick out a plugin manager and stuff. It's kind of like a package manager for neovim. You can install everything manually but usually you manually install a plugin manager and it gives you commands to manage the rest of your plugins.

    These two plugins are the bare minimum in my view.

    https://github.com/nvim-treesitter/nvim-treesitter

    Treesitter gives you much better syntax highlighting based on a parser for a given language.

    https://github.com/neovim/nvim-lspconfig

    This plugin helps you connect to a given language LSP quickly with sensible defaults. You more or less pick your language from here and copy paste a snippet, and then install the relevant LSP:

    https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...

    For Python you'll want pylsp. For JavaScript it will depend on what frontend framework you're using, I probably can't help you there.

    pylsp itself takes some plugins and you'll probably want them. https://github.com/python-lsp/python-lsp-server

    Best of luck! Happy hacking.

  • Neovide – a simple, no-nonsense, cross-platform GUI for Neovim
    17 projects | news.ycombinator.com | 31 Jan 2024
    Adding language support it neovim isn't very difficult once you're setup. I use nvim-lspconfig[1] and just about any language you could need is documented[2]. But like others have mentioned there are batteries included distributions of neovim if that's your cup of tea.

    [1]: https://github.com/neovim/nvim-lspconfig/

    [2]: https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...

  • A guide on Neovim's LSP client
    7 projects | dev.to | 13 Jan 2024
    If we can't find the basic usage in the documentation we can go to nvim-lspconfig's github repository. In there we look for a folder called server_configurations, this contains configuration files for a bunch of language servers.
  • Do I need NeoVIM?
    11 projects | /r/neovim | 7 Dec 2023
    https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.

mason-lspconfig.nvim

Posts with mentions or reviews of mason-lspconfig.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-18.
  • [SOLVED] Vue 3 + TypeScript + Inlay Hint support in NeoVim
    6 projects | dev.to | 18 Nov 2024
    It would be an understatement to say that getting stable Vue 3 language server support in NeoVim over the last 9-12 months has been smooth sailing for me, as evidenced by this lengthy GitHub issue: volar v2 no longer works.
  • Ultimate Neovim Setup Guide: lazy.nvim Plugin Manager
    25 projects | dev.to | 24 Jun 2024
    williamboman/mason-lspconfig.nvim: Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
  • Multifunctional IDE using Neovim (1 of 3)
    6 projects | dev.to | 14 Jun 2024
    How do you find the configuration for your language? This package manager has a List with all supported language servers, look for the language you need there, in nvim through the command :Mason look for the package name as in the table, and install, then in the next column open the link to the language server, and take the configuration from there. Let's install the language server for all languages that i use as an example
  • Do I need NeoVIM?
    11 projects | /r/neovim | 7 Dec 2023
    https://github.com/hrsh7th/nvim-cmp This is an autocompletion engine https://github.com/nvim-treesitter/nvim-treesitter This allows NeoVim to install parsing scripts so NeoVim can do things like code highlighting. https://github.com/williamboman/mason.nvim Not strictly necessary, but allows you to access a repo of LSP, install them, and configure them for without you actively messing about in config files. https://github.com/neovim/nvim-lspconfig Also not strictly necessary, but vastly simplifies LSP setup. https://github.com/williamboman/mason-lspconfig.nvim This lets the above two plugins talk to each other more easily.
  • How to best use nontrivial Python tool chains through neovim?
    2 projects | /r/neovim | 23 Nov 2023
    pylsp offers an option to install flake8 as an optional plugin and Mason offers a command to install pylsp plugins. I could then install flake8-pytest-style via pip. Then pylsp and flake8 would live in the same Mason environment and flake8-pytest-style would live in my project's environment. I don't know if/how they will communicate with each other.
  • Using nvim-lint as a null-ls alternative for linters
    4 projects | /r/neovim | 14 Aug 2023
    Personally, i think nvim-lint is the best alternative currently, specially so because it has no dependencies on external binaries. This guide assumes you already have your LSP set up with nvim-lspconfig (or an alternative like lsp-zero). You should also have an way to install the linters you are gonna need, i highly recommend Mason with mason-lspconfig.
  • How do I enable an LSP for json files?
    2 projects | /r/neovim | 7 Jul 2023
    Have you set up https://github.com/williamboman/mason-lspconfig.nvim as well?
  • What are the benefits of using nvim-lspconfig?
    3 projects | /r/neovim | 2 Jul 2023
    You can also use https://github.com/williamboman/mason-lspconfig.nvim with nvim-lspconfig to make language server installation closer to installing a vscode extension, in that you just install a language server through mason and it'll be automatically configured for you.
  • Your favourite Neovim plugins?
    42 projects | /r/neovim | 21 Jun 2023
  • I've been away for ~3 years and my config is vimscript-coc-plug-etc. Worth moving to the 'new thing', and good resources to get up to date?
    11 projects | /r/neovim | 15 Jun 2023
    https://github.com/williamboman/mason-lspconfig.nvim - Mason plugin to manage your LSP servers.

What are some alternatives?

When comparing nvim-lspconfig and mason-lspconfig.nvim you can also consider the following projects:

django-plus.vim - :guitar: Improvements to the handling of Django related files in Vim

lsp-zero.nvim - A starting point to setup some lsp related features in neovim.

mason.nvim - Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.

sonarlint-language-server - Language Server for SonarLint VSCode

mason-tool-installer.nvim - Install and upgrade third party tools automatically

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured

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