Go to file
2021-08-10 19:25:04 +09:00
after/plugin Initial commit 2021-08-08 17:38:47 +09:00
lua/cmp_buffer Fix digits pattern 2021-08-10 19:25:04 +09:00
README.md Initial commit 2021-08-08 17:38:47 +09:00

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