Home

Awesome

completion-buffers

A buffer completion source for completion-nvim

Features

Install

Plug 'steelsojka/completion-buffers'

Setup

The source is automatically registered. You just need to add the source to your completion configuration. See the detail in wiki.

vim.g.completion_chain_complete_list = {
  default = {
    { complete_items = { 'lsp' } },
    { complete_items = { 'buffers' } },
    { mode = { '<c-p>' } },
    { mode = { '<c-n>' } }
  },
}

Configuration

Note these can be specified as buffer variables as well.