about summary refs log tree commit diff stats
path: root/modules/home/conf/nvim/plgs/harpoon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/home/conf/nvim/plgs/harpoon/default.nix18
1 files changed, 6 insertions, 12 deletions
diff --git a/modules/home/conf/nvim/plgs/harpoon/default.nix b/modules/home/conf/nvim/plgs/harpoon/default.nix
index b1421dab..fa275f1b 100644
--- a/modules/home/conf/nvim/plgs/harpoon/default.nix
+++ b/modules/home/conf/nvim/plgs/harpoon/default.nix
@@ -7,12 +7,11 @@
     desc_template,
   }: {
     key = "${prefix}${number}";
-    action = ''
+    action.__raw = ''
       function()
         ${command_template number}
       end
     '';
-    lua = true;
     options.desc = "${desc_template number}";
   };
   mkGotoTerminalCommand = number: let
@@ -45,52 +44,47 @@ in {
       [
         {
           key = "-";
-          action = ''
+          action.__raw = ''
             function()
               require("harpoon.ui").nav_next()
              end
           '';
-          lua = true;
           options.desc = "go to the next marked file";
         }
         {
           key = "_";
-          action = ''
+          action.__raw = ''
             function()
               require("harpoon.ui").nav_prev()
              end
           '';
-          lua = true;
           options.desc = "go to the previous marked file";
         }
         {
           key = "<leader><leader>";
-          action = ''
+          action.__raw = ''
             function()
               require("harpoon.mark").add_file()
             end
           '';
-          lua = true;
           options.desc = "add a mark to the open file in harpoon.";
         }
         {
           key = "gqc";
-          action = ''
+          action.__raw = ''
             function()
               require("harpoon.cmd-ui").toggle_quick_menu()
             end
           '';
-          lua = true;
           options.desc = "toggle the harpoon command quick menu to see all commands.";
         }
         {
           key = "<leader>q";
-          action = ''
+          action.__raw = ''
             function()
               require("harpoon.ui").toggle_quick_menu()
             end
           '';
-          lua = true;
           options.desc = "toggle the harpoon normal quick menu to see all marks.";
         }
       ]