✨ feat(nvim): added cmp buffer to / and ?
This commit is contained in:
parent
d8fb18957d
commit
ae1389f165
1 changed files with 6 additions and 0 deletions
|
@ -29,5 +29,11 @@ return {
|
|||
completion = cmp.config.window.bordered(),
|
||||
documentation = cmp.config.window.bordered(),
|
||||
}
|
||||
cmp.setup.cmdline({ "/", "?" }, {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = {
|
||||
{ name = "buffer" },
|
||||
},
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue