revert cmdheight back to 3

This commit is contained in:
Ray Elliott 2022-10-07 15:08:14 +01:00
commit 0d451f9b04
4 changed files with 6 additions and 3 deletions

View file

@ -1,4 +1,5 @@
local cmp = require 'cmp'
cmp.setup({
window = {documentation = cmp.config.window.bordered({border = "single"})},
formatting = {
@ -20,8 +21,8 @@ cmp.setup({
},
snippet = {expand = function(args) vim.fn["UltiSnips#Anon"](args.body) end},
mapping = {
['<C-d>'] = cmp.mapping.scroll_docs(-4),
['<C-u>'] = cmp.mapping.scroll_docs(4),
['<C-u>'] = cmp.mapping.scroll_docs(-4),
['<C-d>'] = cmp.mapping.scroll_docs(4),
["<C-n>"] = cmp.mapping({
i = function()
if cmp.visible() then