completion-nvim

A async completion framework aims to provide completion to neovim's built in LSP written in Lua (by nvim-lua)
Lua

Stats

Basic completion-nvim repo stats
15
794
7.8
30 days ago

nvim-lua/completion-nvim is an open source project licensed under Apache License 2.0 which is an OSI approved license.

Completion-nvim Alternatives

Similar projects and alternatives to completion-nvim

  • GitHub repo nvim-lspconfig

    Quickstart configurations for the Nvim LSP client

  • GitHub repo nvim-compe

    Auto completion plugin for nvim that written in Lua.

  • GitHub repo vim-vsnip

    Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

  • GitHub repo lsp_signature.nvim

    lsp signature hint when you type

  • GitHub repo coc.nvim

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

  • GitHub repo deoplete.nvim

    :stars: Dark powered asynchronous completion framework for neovim/Vim8

  • GitHub repo nvim

    A Neovim config made with sane defaults

  • GitHub repo nvim-treesitter

    Nvim Treesitter configurations and abstraction layer

  • GitHub repo php-language-server

    PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥

  • GitHub repo vim-mucomplete

    Chained completion that works the way you want!

  • GitHub repo VimCompletesMe

    You don't Complete Me; Vim Completes Me! A super simple, super minimal, super light-weight tab completion plugin for Vim.

  • GitHub repo asyncomplete.vim

    async completion in pure vim script for vim8 and neovim

  • GitHub repo vim-lsp-settings

    Auto configurations for Language Server for vim-lsp

  • GitHub repo vim.reaper

    💀 A Hackable, Fully Featured, Rice Friendly Neovim Configuration

  • GitHub repo nvim-autopairs

    autopairs for neovim written by lua

  • GitHub repo flutter-tools.nvim

    Tools to help create flutter apps in neovim using the native lsp

  • GitHub repo one-nvim

    Atom one theme

  • GitHub repo dotfiles

    My dotfiles (by Mte90)

  • GitHub repo dotfiles

    dotfiles (by garcia5)

  • GitHub repo neovim

    Vim-fork focused on extensibility and usability (by mjlbach)

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better completion-nvim alternative or higher similarity.

Posts

Posts where completion-nvim has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-05-06.
  • I need Tab to work as it does in Sublime-Text. Has anyone figured this out?
    reddit.com/r/neovim | 2021-05-06
  • About C/C++ completion (nvim-lspconfig, nvim-compe, vim-vsnip)
    reddit.com/r/neovim | 2021-04-28
    thank you, this fixed my issue. but actually it's more than just one line. I looked it up on google and found this github issue. I copied those lines, put them in my config and it worked finally.
  • ELI5 (or 15 maybe): Lspinstall and external language servers
    reddit.com/r/neovim | 2021-04-13
  • function implementation with native lsp and compe-nvim
    reddit.com/r/neovim | 2021-03-17
    I ran over this: https://github.com/nvim-lua/completion-nvim Isn't that a better alternative to nvim-compe?
  • The question its simple: Wich autocompletion plugin would you recommend now a days
    reddit.com/r/neovim | 2021-03-17
    completion
  • https://np.reddit.com/r/neovim/comments/m0ie7a/neovim_lsp_client_stuck_on_cpu_100_a_very_high/gq7zw19/
    " Specify a directory for plugins " - For Neovim: ~/.local/share/nvim/plugged " - Avoid using standard Vim directory names like 'plugin' call plug#begin('~/.local/share/nvim/plugged') Plug 'neovim/nvim-lspconfig' autocmd Filetype go setlocal omnifunc=v:lua.vim.lsp.omnifunc " https://github.com/nvim-lua/completion-nvim/wiki/chain-complete-support Plug 'nvim-lua/completion-nvim' " Configure the completion chains let g:completion_chain_complete_list = { \ 'default': [ \ {'complete_items': ['lsp']}, \ {'mode': ''}, \ {'mode': ''} \] \} let g:completion_enable_auto_popup = 1 let g:completion_enable_auto_hover = 1 let g:completion_enable_auto_signature = 1 let g:completion_matching_smart_case = 1 let g:completion_trigger_keyword_length = 1 " default = 1 let g:completion_timer_cycle = 80 "default value is 80 " auto change sources whenever this completion source has no complete item let g:completion_auto_change_source = 1 let g:completion_enable_auto_paren = 1 " Set completeopt to have a better completion experience set completeopt=menuone,noinsert,noselect " Avoid showing message extra message when using completion set shortmess+=c n " The delay is governed by vim's updatetime option, " default updatetime 4000ms is not good for async update set updatetime=100 " set signcolumn to 2 to avoid git gutter sign conflict with linter sign set signcolumn=yes:2 lua << EOF local lsp = require'lspconfig' local cmp = require'completion' [email protected] client: (required, vim.lsp.client) local mix_attach = function(client) -- lsp_status.on_attach(client) cmp.on_attach(client) end -- lsp.gopls.setup{} -- https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/gopls.lua -- https://github.com/golang/tools/blob/master/gopls/doc/vim.md#neovim -- https://github.com/neovim/nvim-lspconfig/blob/master/CONFIG.md#gopls lsp.gopls.setup({ on_attach = mix_attach, settings = { gopls = { usePlaceholders = true, completeUnimported = true, }, }, }) EOF
  • neovim lsp client stuck on CPU 100% / a very high CPU usage with big files · Issue #14037 · neovim/neovim
    reddit.com/r/neovim | 2021-03-08
    " https://github.com/nvim-lua/completion-nvim/wiki/chain-complete-support Plug 'nvim-lua/completion-nvim' " Configure the completion chains let g:completion_chain_complete_list = { \ 'default': [ \ {'complete_items': ['lsp']}, \ {'mode': ''}, \ {'mode': ''} ] }
  • nvim-lsp autocompletition not working at all
    reddit.com/r/neovim | 2021-03-07
    Are you using completion.nvim? If so, take a look at the Setup section of the readme again – it looks like you're not actually loading the completion plugin.
  • Help needed in configuring neovim lsp
    reddit.com/r/neovim | 2021-02-18
    I was doing the same thing with snippet plugins a couple of hours ago, and I don't think there is. completion-nvim has an open issue for snippet preview window, vim-vsnip shows just as much as ultisnips, e.g. just the snippet name, and snippets.nvim doesn't seem to show anything.
  • vscode-like completion icons
    reddit.com/r/neovim | 2021-02-04
    If you're using completion.nvim, look into completion_customize_lsp_label variable. It defines the Kind and it's respective tag. In lua you can define it as lua vim.g.completion_customize_lsp_label = { Function = ' [function]', Method = ' [method]', Reference = ' [refrence]', } Also, if you want to change the priority of the Kind, look into completion_items_priority variable. Higher the number, higher the Kind will be displayed in the list. In lua, lua vim.g.completion_items_priority = { Function = 10, Method = 5, Reference = 9, }
  • Path completion with built-in LSP
    reddit.com/r/neovim | 2021-01-25
    I think this is a know bug. One way to get around this is to make a separate chain for just strings and put only path in that suggestion. More details along with work around can be found in this bug report
    reddit.com/r/neovim | 2021-01-25
  • Neovim 0.5 for web development
    reddit.com/r/neovim | 2021-01-19
    The autocomplete is a combination of tsserver for providing completion options, and completion.nvim for grabbing them and displaying them in the ins-completion menu. If tsserver is acting up then completion won't have anything to grab from
  • jiangmiao/auto-pairs plugin not inserting newline when pressing enter between two curly brackets
    reddit.com/r/neovim | 2021-01-19
    ```vim " from https://github.com/nvim-lua/completion-nvim#changing-completion-confirm-key " Make sure to use " " and add escape key \ to avoid parsing issues. " If the confirm key has a fallback mapping, for example when using the auto pairs plugin, it maps to .
  • How to use (and contribute) to neovim's built-in language server client and nvim-lspconfig
    reddit.com/r/neovim | 2021-01-07
    For reference, I think this is impelmented via snippet support in completion.nvim https://github.com/nvim-lua/completion-nvim/issues/93