1
0
Fork 0

Use the iskeyword option for recognizing words

This commit is contained in:
Daniele Tricoli 2022-01-05 20:05:07 +01:00
parent 37b9ca34b3
commit 08ab445dbe
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ cmp.setup({
{ name = "luasnip" },
{ name = 'buffer',
option = {
keyword_pattern = [[\k\+]],
-- Use all buffers to complete.
get_bufnrs = function() return vim.api.nvim_list_bufs() end
},