Catppuccino.nvim VS nvim-lspconfig

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

Catppuccino.nvim

šŸØ Catppuccin theme for NeoVim [Moved to: https://github.com/catppuccin/nvim] (by Pocco81)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Catppuccino.nvim nvim-lspconfig
15 523
230 9,259
- 4.6%
9.4 9.7
over 2 years ago 6 days ago
Lua Lua
MIT License 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.

Catppuccino.nvim

Posts with mentions or reviews of Catppuccino.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-11.
  • lua error when installing `telescope-fzf-native`
    2 projects | /r/neovim | 11 Nov 2022
    -- Add numbers to rows vim.wo.number = true vim.wo.colorcolumn = '120' -- Set indentation of files local indent = 2 vim.bo.expandtab = true vim.bo.shiftwidth = indent vim.bo.smartindent = true vim.bo.tabstop = indent vim.bo.autoindent = true vim.o.smarttab = true vim.bo.softtabstop = indent -- Enable the mouse vim.o.mouse = 'a' -- Set nocompatible mode for more powerful commands vim.o.compatible = false -- Set some search options vim.o.showmatch = true vim.o.ignorecase = true vim.o.hlsearch = true vim.o.incsearch = true -- Set options for color scheme vim.o.termguicolors = true --- Key Mappings --- vim.api.nvim_set_keymap('i', 'jj', '', {noremap = true}) vim.api.nvim_set_keymap('n', 'JJJJ', '', {noremap = true}) vim.api.nvim_set_keymap('n', ':', ';', {noremap = true}) vim.api.nvim_set_keymap('n', ';', ':', {noremap = true}) --- Plugins --- -- Start plugin section. Use this section in order to install new plugins to -- neovim. -- In order to install a new plugin, you need to put in this section the -- repository where it can be found, and then refresh the plugin list by -- installing them with the command: -- :PlugInstall -- Auto install vim-plug that's the plugin manager local vimplugrepository = '' local installpath = vim.fn.stdpath('config')..'/autoload' local vimpluginstallpath = installpath..'/plug.vim' local vimplugrepository = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' if vim.fn.empty(vim.fn.glob(vimpluginstallpath)) > 0 then vim.api.nvim_command('!curl -flo '..vimpluginstallpath..' --create-dirs '..vimplugrepository) vim.cmd 'autocmd VimEnter = PlugInstall' end local Plug = vim.fn['plug#'] -- Put plugins in this section. Define a Plug with the reposiutory of the -- plugin that you want vim.call('plug#begin', installpath) -- Nice theme Plug 'https://github.com/Pocco81/Catppuccino.nvim' -- Nvim-Tree for file browsing Plug 'nvim-tree/nvim-web-devicons' Plug 'nvim-tree/nvim-tree.lua' -- Installing mason with its dependencies Plug 'neovim/nvim-lspconfig' Plug 'williamboman/mason-lspconfig.nvim' Plug 'mfussenegger/nvim-dap' Plug 'mfussenegger/nvim-lint' Plug 'mhartington/formatter.nvim' Plug 'williamboman/mason.nvim' -- Telescope for find files and in files Plug 'nvim-lua/plenary.nvim' Plug 'BurntSushi/ripgrep' -- Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' } Plug 'nvim-treesitter/nvim-treesitter' Plug 'nvim-telescope/telescope.nvim' -- Status line Plug 'nvim-lualine/lualine.nvim' -- Tabs Plug 'romgrk/barbar.nvim' vim.call('plug#end') --- Plugins configuration --- -- Color scheme vim.cmd[[colorscheme catppuccin]] -- nvim-tree require('nvim-tree').setup ({ sort_by = 'case_sensitive', view = { adaptive_size = true, mappings = { list = { { key = 'u', action = 'dir_up' }, }, }, }, renderer = { group_empty = true, }, filters = { dotfiles = true, }, }) vim.api.nvim_set_keymap('n', '', ':NvimTreeToggle', { noremap = true, silent = true }) -- Mason require('mason').setup() require('mason-lspconfig').setup() require'lspconfig'.clangd.setup{} require'lspconfig'.luau_lsp.setup{} -- Telescope local builtin_telescope = require('telescope.builtin') vim.keymap.set('n', 'ff', builtin_telescope.find_files, {}) vim.keymap.set('n', 'fg', builtin_telescope.live_grep, {}) vim.keymap.set('n', 'fb', builtin_telescope.buffers, {}) vim.keymap.set('n', 'fh', builtin_telescope.help_tags, {}) require('telescope').setup {} -- require('telescope').load_extension('fzf') -- Lua line require('lualine').setup { options = { theme = 'ayu_mirage' } } -- Bars require('bufferline').setup() local map = vim.api.nvim_set_keymap local opts = { noremap = true, silent = true } -- Move to previous/next map('n', '', 'BufferPrevious', opts) map('n', '', 'BufferNext', opts) -- Re-order to previous/next map('n', '', 'BufferMovePrevious', opts) map('n', '>', 'BufferMoveNext', opts) -- Goto buffer in position... map('n', '', 'BufferGoto 1', opts) map('n', '', 'BufferGoto 2', opts) map('n', '', 'BufferGoto 3', opts) map('n', '', 'BufferGoto 4', opts) map('n', '', 'BufferGoto 5', opts) map('n', '', 'BufferGoto 6', opts) map('n', '', 'BufferGoto 7', opts) map('n', '', 'BufferGoto 8', opts) map('n', '', 'BufferGoto 9', opts) map('n', '', 'BufferLast', opts) -- Pin/unpin buffer map('n', '', 'BufferPin', opts) -- Close buffer map('n', '', 'BufferClose', opts) -- Wipeout buffer -- :BufferWipeout -- Close commands -- :BufferCloseAllButCurrent -- :BufferCloseAllButPinned -- :BufferCloseAllButCurrentOrPinned -- :BufferCloseBuffersLeft -- :BufferCloseBuffersRight -- Magic buffer-picking mode map('n', '', 'BufferPick', opts) -- Sort automatically by... map('n', 'bb', 'BufferOrderByBufferNumber', opts) map('n', 'bd', 'BufferOrderByDirectory', opts) map('n', 'bl', 'BufferOrderByLanguage', opts) map('n', 'bw', 'BufferOrderByWindowNumber', opts)
  • lsp-error with clangd when opening a cpp file in Ubuntu
    8 projects | /r/neovim | 7 Jun 2022
    -- Neovim configuration by Daniele Lupo (Jepessen) --- Require --- local utils = require('utils') --- Options --- -- Add number to rows utils.opt('o', 'number', true) -- Set indentation of files local indent = 2 utils.opt('b', 'expandtab', true) utils.opt('b', 'shiftwidth', indent) utils.opt('b', 'smartindent', true) utils.opt('b', 'tabstop', indent) utils.opt('b', 'autoindent', true) utils.opt('o', 'smarttab', true) utils.opt('b', 'softtabstop', indent) -- Enable the mouse utils.opt('o', 'mouse', 'a') -- Set nocompatible mode for more powerful commands utils.opt('o', 'compatible', false) -- Set some search options utils.opt('o', 'showmatch', true) utils.opt('o', 'ignorecase', true) utils.opt('o', 'hlsearch', true) utils.opt('o', 'incsearch', true) -- Set options for color scheme utils.opt('o', 'termguicolors', true) --- Keymappings --- -- Remap jj to escape in insert mode utils.map('i', 'jj', '') utils.map('n', 'JJJJ', '') -- Swap ; and : utils.map('n', ':', ';') utils.map('n', ';', ':') -- Start plugin section. Use this section in order to install new plugins to -- neovim. -- -- In order to install a new plugin, you need to put in this section the -- repository where it can be found, and then refresh the plugin list by -- installing them with the command: -- -- :PlugInstall -- Auto install vim-plug that's a plugin manager local vimplugrepository = '' local installpath = vim.fn.stdpath('config')..'/autoload' local vimpluginstallpath = installpath..'/plug.vim' local vimplugrepository = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' if vim.fn.empty(vim.fn.glob(vimpluginstallpath)) > 0 then vim.api.nvim_command('!curl -flo '..vimpluginstallpath..' --create-dirs '..vimplugrepository) vim.cmd 'autocmd VimEnter * PlugInstall' end local Plug = vim.fn['plug#'] -- Put plugins in this section. Define a Plug with the repository of the plugin that you want vim.call('plug#begin', installpath) -- Vim airline. This plugin creates a nice status bar with more features than -- standard one. Plug 'https://github.com/vim-airline/vim-airline' -- NerdTree is a plugin for showing a tree folder structure of the filesystem. Plug 'https://github.com/preservim/nerdtree' -- Vim color schemes Plug 'https://github.com/rafi/awesome-vim-colorschemes' -- Developer icons Plug 'https://github.com/ryanoasis/vim-devicons' -- Surrounding with parenthesis and xml tags with cs command and more Plug 'https://github.com/tpope/vim-surround' -- Show trailing whitespaces and use the command :StripWhitespace for removing -- them Plug 'https://github.com/ntpeters/vim-better-whitespace.git' -- Install the LSP server for configuring it with clangd for code completition -- in C++ Plug 'https://github.com/neovim/nvim-lspconfig' -- An interesting theme Plug 'https://github.com/Pocco81/Catppuccino.nvim' vim.call('plug#end') --- PLUGINS CONFIGURATION --- -- Nerdtree -- Configure keys so with ctrlf go to the tree, with ctrl+n open the tree, and -- ctrl+t toggle the tree utils.map('n', '', ':NERDTreeFocus') utils.map('n', '', ':NERDTree') utils.map('n', '', ':NERDTreeToggle') --- LSP CONFIG --- -- Main configuration local lspremapopts = { noremap = true, silent = true } vim.keymap.set('n', 'e', vim.diagnostic.open_float, lspremapopts) vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, lspremapopts) vim.keymap.set('n', ']d', vim.diagnostic.goto_next, lspremapopts) vim.keymap.set('n', 'q', vim.diagnostic.setloclist, lspremapopts) -- Use an on_attach function to only map the following keys -- after the language server attaches to the current buffer local on_attach = function(client, bufnr) -- Enable completition triggered by vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc') -- Mappings -- See ':help vim.lsp.* local bufopts = { noremap = true, silent = true, bufnr = bufnr } vim.keymap.set('n', 'gD', vim.lsp.buf.declaration, bufopts) vim.keymap.set('n', 'gd', vim.lsp.buf.definition, bufopts) vim.keymap.set('n', 'K', vim.lsp.buf.hover, bufopts) vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, bufopts) vim.keymap.set('n', '', vim.lsp.buf.signature_help, bufopts) vim.keymap.set('n', 'wa', vim.lsp.buf.add_workspace_folder, bufopts) vim.keymap.set('n', 'wr', vim.lsp.buf.remove_workspace_folder, bufopts) vim.keymap.set('n', 'wl', function () print(vim.inspect(vim.lsp.buf.list_workspace_folders())) end, bufopts) vim.keymap.set('n', 'D', vim.lsp.buf.type_definition, bufopts) vim.keymap.set('n', 'rn', vim.lsp.buf.rename, bufopts) vim.keymap.set('n', 'ca', vim.lsp.buf.code_action, bufopts) vim.keymap.set('n', 'gr', vim.lsp.buf.references.bufopts) vim.keymap.set('n', 'f', vim.lsp.buf.formatting, bufopts) end -- Now the servers must be defined and set. In order to load them it's -- convenient to define them in an array and use a loop. local servers = { 'pyright', 'clangd' } for _, lsp in pairs(servers) do require('lspconfig')[lsp].setup { on_attach = on_attach, flags = { debounce_text_changes = 150 } } end --- COLOR SCHEME --- vim.cmd[[colorscheme catppuccin]]
  • CosmicNvim - New Themes!
    6 projects | /r/neovim | 15 Nov 2021
    Hi everyone! Iā€™m happy to announce that CosmicNvim now includes first-class support for 4 additional themes on top of the default for a total of 5 themes to choose from! The current selection: - [Catppuccino](https://github.com/Pocco81/Catppuccino.nvim) - [Gruvbox](https://github.com/ellisonleao/gruvbox.nvim) - [Rose-pine](https://github.com/rose-pine/neovim) - [Nord](https://github.com/shaunsingh/nord.nvim) - [Tokyonight](https://github.com/folke/tokyonight.nvim) Repo: https://github.com/mattleong/CosmicNvim (ā­ļøā€™s are very appreciated!) Iā€™ve previously said that I wouldnā€™t implement first class theme support for CosmicNvim outside of the default themeā€¦ Well, I guess I changed my mind. šŸ˜… For one, itā€™s probably been the most requested feature. For another, I want to be able to swap and play around with themes easily as well. My initial reason for _not_ wanting to include additional theme support was because I was worried about what sort of complexity it would bring. Turns out itā€™s not so bad and doesnā€™t overly bloat the codebase. If you have any suggestions for themes youā€™d like to see implemented, please feel free to drop them in the open [issue](https://github.com/mattleong/CosmicNvim/issues/25)!
    6 projects | /r/neovim | 15 Nov 2021
    The current selection: - Catppuccino - Gruvbox - Rose-pine - Nord - Tokyonight
  • Any color sheme with working colorized undercurls ?
    3 projects | /r/neovim | 6 Nov 2021
    https://github.com/Pocco81/Catppuccino.nvim has support for colorized undercurls, but havenā€™t tried it yet, so I can say if it works or not
  • What's your neovim colorscheme?
    54 projects | /r/neovim | 1 Nov 2021
    same, but are you using the old colorschemes or the remastered theme? In case you are interested, here you can see what led to the creation of the remastered theme.
    54 projects | /r/neovim | 1 Nov 2021
  • [Plugin] ftFT.nvim: A pure Lua plugin that gives highlights to f{char} command
    3 projects | /r/neovim | 1 Nov 2021
    Nice one! Btw would it be possible for you to allow custom hi groups? I personally would use this to create an integration for my colorscheme.
  • Is is possible to create a simple vim theme like this without a ton of work and inefficient code? Maybe with Tree-sitter?
    3 projects | /r/neovim | 27 Oct 2021
    Not sure if it helps but I have my own colorscheme named Catppuccino (side note: colors will be refactored soon). It has a bunch of integrations and basically everything you'd expect from a full featured theme.
  • Catppuccino.nvim: An eye-candy and full-featured Neovim theme with support for native LSP, Trees-sitter, and more!
    18 projects | /r/neovim | 22 Aug 2021

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 2024-02-03.
  • 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.
  • cpp setting problem
    4 projects | /r/neovim | 6 Dec 2023
    This specific issue talks about fixing clangd for that error: https://github.com/neovim/nvim-lspconfig/issues/2184. The issue is ongoing for ccls AFAIK but for clangd, this has been discussed and fixed in the past already.
  • Need help to set up the pbkit language server
    2 projects | /r/neovim | 21 Sep 2023
    I am trying to set up the pbkit language server for protobuf files. Since it is not part of the nvim-lspconfig repo's server configurations, I have to figure the way out myself. It doesn't seem to be too difficult, as I can start from the bufls configuration there. The following is what I have at the moment:
  • 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.
  • The Future of the Vim Project
    6 projects | news.ycombinator.com | 10 Aug 2023
    Basically neovim can act as a client to a variety of different language servers (https://github.com/neovim/nvim-lspconfig/blob/master/doc/ser...) which give neovim IDE capabilities. This can be done in original Vim also but requires external plugins which can be a pain to compile and install. Neovim has it built in.
  • SQL LSP dialect
    2 projects | /r/neovim | 4 Aug 2023
    I'm struggling to get [sqlls](https://github.com/joe-re/sql-language-server) with [nvim-lspconfig](https://github.com/neovim/nvim-lspconfig) to use Postgres syntax.
  • LazyVim
    32 projects | news.ycombinator.com | 16 Jul 2023
    I see where you're coming from. FWIW, I've been using Neovim for an odd 7 years or so and only use plugins where absolutely necessary. I'll usually just add an appropriate BufWritePost (trigger after saving the buffer) autocommand for the language's file extension that does what I want. Or I'll add a keybind in .config/nvim/ftplugin/.vim (or .lua).

    The default LSP client config at https://github.com/neovim/nvim-lspconfig#suggested-configura... sets everything up for you, if you're using an LSP server. I'm not sure why it hasn't been merged into the Neovim repo; possibly because they want to keep the editor core fast and minimal.

    All this means you have to do a little more configuring than with something like VSCode, but to be honest, I haven't legitimately needed to make big changes to my config in a few years. There's stuff I add for fun (like little lua scripts to manage my clipboard and to layout tabs the way I want), but to maintain a 'VSCode' level of functionality none of it's needed. The advantage of spending a little extra time, for me, has been that my edit 'fits like a glove', so to speak :)

What are some alternatives?

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

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

null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.

nvim-lsp-installer - Further development has moved to https://github.com/williamboman/mason.nvim!

nvim-jdtls - Extensions for the built-in LSP support in Neovim for eclipse.jdt.ls

coc - Chroniques OubliƩes Contemporain

ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support

clangd - clangd language server

python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community

vim-lsp-settings - Auto configurations for Language Server for vim-lsp

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

ansible-language-server - šŸš§ Ansible Language Server codebase is now included in vscode-ansible repository

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.