mirror of
https://github.com/hrsh7th/cmp-buffer
synced 2025-04-10 03:31:36 +00:00
after/plugin | ||
lua/cmp_buffer | ||
README.md |
cmp-buffer
nvim-cmp source for buffer words.
configuration
The below source configuration are available.
keyword_pattern Type: string
A vim's regular expression for creating a word list from buffer content.
Default: %(-?\d+%(.\d+)?
get_bufnrs Type: fun(): number[]
A function that specifies the buffer numbers to complete.
Default: function() return { vim.api.nvim_get_current_buf() } end