nvim-autopairs VS completion-nvim

Compare nvim-autopairs vs completion-nvim and see what are their differences.

nvim-autopairs

autopairs for neovim written in lua (by windwp)

completion-nvim

A async completion framework aims to provide completion to neovim's built in LSP written in Lua (by nvim-lua)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
nvim-autopairs completion-nvim
53 33
2,760 1,009
- -
7.4 6.0
8 days ago over 2 years 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.

nvim-autopairs

Posts with mentions or reviews of nvim-autopairs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-30.

completion-nvim

Posts with mentions or reviews of completion-nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-14.
  • [Neovim] Quels plugins dois-je utiliser avec le LSP intégré?
    3 projects | /r/enfrancais | 14 May 2023
  • having trouble with lsp and cmp completing function signature
    3 projects | /r/neovim | 20 Mar 2023
  • Noob post: Been using neovim for 3 days and I followed the following instructions (see post) for LSP integration and got "attempt to index local 'lsp' (a nil value)".
    5 projects | /r/neovim | 28 Sep 2022
    I think it can be on any lua file. Plus I checked completion.nvim is now on archived.
  • How in the world do you set up nvim-cmp?
    7 projects | /r/neovim | 23 Dec 2021
    You don't, nvim-cmp sets up you. Jokes aside, I am using completion-nvim. Unfortunately it got abandoned just as Neovim 0.5.1 got released, which contained a breaking change. You can look into the pending PRs to see how to fix it for yourself, just use one of the fixed forks. It really sucks, but unless someone steps up an creates a new completion plugin that's what I am stuck with.
  • How to configure ALE and floating windows?
    4 projects | /r/neovim | 2 Dec 2021
    I couldn't figure out how to change this. I found some options, some of which made an entire split window appear above... that's hideous. I also found this, but that works with lua. How do I even set up these lua scripts? I don't get it. Can I get some guidance? Thanks.
  • How do you deal with poorly documented plugins?
    6 projects | /r/neovim | 31 Oct 2021
    I have tried to move to nvim-cmp since completion-nvim is dead, but for the life of me I cannot figure out how to make it not automatically select the first completion candidate. If I type date and hit to insert a new line, cmp takes as the "confirm selection" key (because I have mapped it that way) and expands the snippet. I only want to confirm a selection if I actually selected something from the menu. completion-nvim may be dead, but at least its author had the courtesy to write down how to use it in complete plain English sentences instead of broken English one-liners. Eventually I gave up and moved back to the old setup.
  • Neovim Python Dev Config
    7 projects | /r/neovim | 20 Oct 2021
    That will give you the basics, you should see linter diagnostics and auto omin completion should work. For better auto-completion and snippets you can set up one of the completion- and snippets plugins. Personally I use completion-nvim and Ultisnips. There may be better plugins out there, that's just what I happen to have installed.
  • Auto-completion plugin alternatives?
    4 projects | /r/neovim | 10 Oct 2021
    I recently upgraded from Neovim 0.5.0 to 0.5.1 and LSP autocompletion stopped working. I'm using https://github.com/nvim-lua/completion-nvim but it looks like its maintenance could be much better. I'm looking for some alternative but I'm not sure what would be a good choice for LSP. Any recommendations?
  • Any auto-completion plugin that works with nvim appimage 0.5.0 out-of-box?
    4 projects | /r/neovim | 2 Sep 2021
    You should try newer and neovim-only completion plugins... e.g. completion-nvim, nvim-cmp
  • Setup neovim for C language
    8 projects | /r/neovim | 14 Aug 2021
    Here's some setup idea: - packer for package manager - clangd language server - nvim-lspconfig, required for navigator.lua - navigator.lua for enchanced IDE experience. This is a like adding a sugar to coffee. - completion-nvim OR nvim-compe for enchanching autocomplete & dropdown menu suggestion. - nvim-treesitter for better syntax highlighting. - telescope.nvim for amazing extensible & configurable fuzzy finder, you can also use fzf if you want. - Any custom color scheme you want (preferably one that supports tree sitter, like aurora )

What are some alternatives?

When comparing nvim-autopairs and completion-nvim you can also consider the following projects:

nvim-ts-closetag - Use treesitter to auto close and auto rename html tag

vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease

nvim-cmp - A completion plugin for neovim coded in Lua.

YouCompleteMe - A code-completion engine for Vim

pear-tree - A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more

nvim-treesitter - Nvim Treesitter configurations and abstraction layer

nvim-compe - Auto completion Lua plugin for nvim

emmet-ls - Emmet support based on LSP.

ddc.vim - Dark deno-powered completion framework for neovim/Vim

ultisnips - UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!

vim-python-pep8-indent - A nicer Python indentation style for vim.

surround.nvim - A surround text object plugin for neovim written in lua.