mirror of
https://github.com/hrsh7th/nvim-cmp
synced 2024-09-16 20:54:03 +02:00
disable cmdline for now
This commit is contained in:
parent
825933fb68
commit
61b1beca1b
2 changed files with 3 additions and 3 deletions
|
@ -83,8 +83,8 @@ return function()
|
|||
mapping = {
|
||||
['<Down>'] = mapping(mapping.select_next_item({ behavior = types.cmp.SelectBehavior.Select }), { 'i' }),
|
||||
['<Up>'] = mapping(mapping.select_prev_item({ behavior = types.cmp.SelectBehavior.Select }), { 'i' }),
|
||||
['<C-n>'] = mapping(mapping.select_next_item({ behavior = types.cmp.SelectBehavior.Insert }), { 'i', 'c' }),
|
||||
['<C-p>'] = mapping(mapping.select_prev_item({ behavior = types.cmp.SelectBehavior.Insert }), { 'i', 'c' }),
|
||||
['<C-n>'] = mapping(mapping.select_next_item({ behavior = types.cmp.SelectBehavior.Insert }), { 'i' }),
|
||||
['<C-p>'] = mapping(mapping.select_prev_item({ behavior = types.cmp.SelectBehavior.Insert }), { 'i' }),
|
||||
},
|
||||
|
||||
formatting = {
|
||||
|
|
|
@ -23,7 +23,7 @@ api.is_select_mode = function()
|
|||
end
|
||||
|
||||
api.is_suitable_mode = function()
|
||||
return api.is_insert_mode() or api.is_cmdline_mode()
|
||||
return api.is_insert_mode()
|
||||
end
|
||||
|
||||
api.get_current_line = function()
|
||||
|
|
Loading…
Reference in a new issue