diff options
author | Soispha <soispha@vhack.eu> | 2023-10-08 13:12:44 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-08 13:12:44 +0200 |
commit | 8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7 (patch) | |
tree | 90530153a36e969569115c6e06ea17c473826670 /hm/soispha/conf/nvim/plgs/femaco/default.nix | |
parent | chore(version): v1.15.0 (diff) | |
download | nixos-config-8fbcfc8698f97fc4701d09cb3de3e095d5ddd7c7.zip |
fix(hm/conf/nvim): Update to new keymap format
Diffstat (limited to 'hm/soispha/conf/nvim/plgs/femaco/default.nix')
-rw-r--r-- | hm/soispha/conf/nvim/plgs/femaco/default.nix | 18 |
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"; + } + ]; }; } |