Make nvim-cmp only complete on demand
This commit is contained in:
parent
0bb35e5e8d
commit
88a311f59c
@ -16,6 +16,10 @@ spec.config = function()
|
|||||||
local cmp_select = { behavior = cmp.SelectBehavior.Select }
|
local cmp_select = { behavior = cmp.SelectBehavior.Select }
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
|
-- Only trigger completion explicitly through keymapping
|
||||||
|
completion = {
|
||||||
|
autocomplete = false
|
||||||
|
},
|
||||||
---@diagnostic disable-next-line:missing-fields
|
---@diagnostic disable-next-line:missing-fields
|
||||||
formatting = {
|
formatting = {
|
||||||
format = lspk.cmp_format({
|
format = lspk.cmp_format({
|
||||||
|
Loading…
Reference in New Issue
Block a user