about summary refs log tree commit diff stats
path: root/hm/soispha/conf/nvim/plgs/femaco/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/nvim/plgs/femaco/default.nix18
1 files changed, 9 insertions, 9 deletions
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 = {
-        "<leader>cc" = {
-          action = "require('femaco.edit').edit_code_block";
-          lua = true;
-          desc = "edit a [c]ode blo[c]k with femaco";
-        };
-      };
-    };
+    keymaps = [
+      {
+        key = "<leader>cc";
+        mode = "n";
+        action = "require('femaco.edit').edit_code_block";
+        lua = true;
+        options.desc = "edit a [c]ode blo[c]k with femaco";
+      }
+    ];
   };
 }