From 8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7 Mon Sep 17 00:00:00 2001 From: Soispha Date: Sun, 8 Oct 2023 13:12:44 +0200 Subject: fix(hm/conf/nvim): Update to new keymap format --- hm/soispha/conf/nvim/plgs/femaco/default.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'hm/soispha/conf/nvim/plgs/femaco/default.nix') diff --git a/hm/soispha/conf/nvim/plgs/femaco/default.nix b/hm/soispha/conf/nvim/plgs/femaco/default.nix index 570ff297..be8723ce 100644 --- a/hm/soispha/conf/nvim/plgs/femaco/default.nix +++ b/hm/soispha/conf/nvim/plgs/femaco/default.nix @@ -11,14 +11,14 @@ extraPlugins = [ pkgs.vimExtraPlugins.nvim-FeMaco-lua ]; - maps = { - normal = { - "cc" = { - action = "require('femaco.edit').edit_code_block"; - lua = true; - desc = "edit a [c]ode blo[c]k with femaco"; - }; - }; - }; + keymaps = [ + { + key = "cc"; + mode = "n"; + action = "require('femaco.edit').edit_code_block"; + lua = true; + options.desc = "edit a [c]ode blo[c]k with femaco"; + } + ]; }; } -- cgit 1.4.1