From 04d720f6c84d52445a0808fffae553b37408a4a2 Mon Sep 17 00:00:00 2001 From: pablu Date: Fri, 19 Jun 2026 00:37:46 +0200 Subject: only smart-nav on gentoo, and not on other systems, same with tmux navigation --- dot_config/nvim/lua/plugins/which-key.lua | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dot_config/nvim/lua/plugins/which-key.lua') diff --git a/dot_config/nvim/lua/plugins/which-key.lua b/dot_config/nvim/lua/plugins/which-key.lua index 62125fe..7db392f 100644 --- a/dot_config/nvim/lua/plugins/which-key.lua +++ b/dot_config/nvim/lua/plugins/which-key.lua @@ -1,11 +1,7 @@ return { "folke/which-key.nvim", event = "VeryLazy", - opts = { - -- your configuration comes here - -- or leave it empty to use the default settings - -- refer to the configuration section below - }, + opts = {}, keys = { { "?", @@ -15,8 +11,9 @@ return { desc = "Buffer Local Keymaps (which-key)", }, }, - config = function() + config = function(_, opts) local wk = require("which-key") + wk.setup(opts) wk.add({ { "d", group = "Debug" }, { "f", group = "Telescope" }, -- cgit 1.3.1