From 763b9e3340299185240ec45b9c9b67602ce994ec Mon Sep 17 00:00:00 2001
From: Benedikt Peetz <benedikt.peetz@b-peetz.de>
Date: Wed, 19 Jun 2024 07:15:25 +0200
Subject: fix(modules/nvim): Update to the newest nixVim version

This includes replacing the deprecated `lua = true` pattern with a raw
lua value and using the new name for `nil_ls`: `nil-ls`
---
 modules/home/conf/nvim/plgs/harpoon/default.nix | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

(limited to 'modules/home/conf/nvim/plgs/harpoon')

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.";
         }
       ]
-- 
cgit 1.4.1