From c84befc29da66f941eea39d178aa67b8ff813077 Mon Sep 17 00:00:00 2001 From: fiplox Date: Tue, 3 Jan 2023 14:56:24 +0100 Subject: [PATCH] cmdheight = 0 and suppress "press enter..." dialog --- lua/config/settings.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/config/settings.lua b/lua/config/settings.lua index cdb3e06..8f6d658 100644 --- a/lua/config/settings.lua +++ b/lua/config/settings.lua @@ -42,7 +42,6 @@ opt.mouse = 'vn' opt.path = '.,,**h' opt.pumheight = 10 opt.fileencoding = 'utf-8' ---opt.cmdheight = 2 " More space for displaying messages opt.splitbelow = true opt.splitright = true opt.ts = 4 @@ -62,7 +61,12 @@ opt.foldmethod = 'marker' opt.foldlevel = 0 opt.number = true opt.hidden = true -opt.shortmess = add { 'I' } -- Don't pass messages to ins-completion-menu. +-- opt.shortmess = add { 'I' } -- Don't pass messages to ins-completion-menu. +opt.shortmess = { + I = true, + o = true, +} +opt.cmdheight = 0 opt.scrolloff = 15 opt.iskeyword:prepend { '-' } opt.inccommand = 'nosplit'