From b6488d44c168d0235cc16bb18c76ed250d54026d Mon Sep 17 00:00:00 2001 From: jdhao Date: Sun, 17 Oct 2021 07:50:38 +0800 Subject: [PATCH] which-key conf --- lua/config/which-key.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/config/which-key.lua b/lua/config/which-key.lua index 78c1314..11e4c63 100644 --- a/lua/config/which-key.lua +++ b/lua/config/which-key.lua @@ -40,10 +40,10 @@ require("which-key").setup({ padding = { 1, 0, 1, 0 }, -- extra window padding [top, right, bottom, left] }, layout = { - height = { min = 4, max = 25 }, -- min and max height of the columns + height = { min = 1, max = 25 }, -- min and max height of the columns width = { min = 20, max = 50 }, -- min and max width of the columns - spacing = 2, -- spacing between columns - align = "left", -- align columns left, center or right + spacing = 1, -- spacing between columns + align = "center", -- align columns left, center or right }, ignore_missing = false, -- enable this to hide mappings for which you didn't specify a label hidden = { "", "", "", "", "call", "lua", "^:", "^ "}, -- hide mapping boilerplate