From a43a6e3c3fa3a3a8333b11cc6eae525ba24e3b74 Mon Sep 17 00:00:00 2001 From: rootiest Date: Sat, 28 Dec 2024 18:50:58 -0500 Subject: [PATCH] use helix preset for which-key and offset for neominimap --- lua/data/types.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/data/types.lua b/lua/data/types.lua index 143d9ce..e66f3b0 100644 --- a/lua/data/types.lua +++ b/lua/data/types.lua @@ -776,11 +776,13 @@ M.lspconfig = { --- Which-Key configuration options M.whichkey = { opts = { - preset = 'modern', + preset = 'helix', win = { wo = { winblend = 10, }, + col = vim.fn.floor(vim.o.columns * 0.82), + height = { min = 4, max = vim.fn.floor(vim.o.lines * 0.90) }, }, triggers = { { '', mode = { 'n', 'x' } },