From 27de2149badbcf51ba46bf4d8724a5643ac64f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Tue, 23 Jul 2024 13:59:27 +0200 Subject: nvim: update to v3 which-key spec --- dot_config/nvim/lua/bindings/builtins.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'dot_config/nvim/lua/bindings/builtins.lua') diff --git a/dot_config/nvim/lua/bindings/builtins.lua b/dot_config/nvim/lua/bindings/builtins.lua index 330666e..1b13f9b 100644 --- a/dot_config/nvim/lua/bindings/builtins.lua +++ b/dot_config/nvim/lua/bindings/builtins.lua @@ -1,7 +1,5 @@ -- document missing builtins -require 'which-key'.register { - ['g'] = { - t = 'Next tab', - T = 'Previous tab', - }, +require 'which-key'.add { + { 'gt', desc = 'Next tab' }, + { 'gT', desc = 'Previous tab' }, } -- cgit v1.2.3