diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-19 07:15:25 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-19 07:15:25 +0200 |
commit | 763b9e3340299185240ec45b9c9b67602ce994ec (patch) | |
tree | 3874135d1b4cf7550f2b0a5d392298dbd303b70b /modules/home/conf/nvim/plgs/harpoon | |
parent | fix(pkgs/brightness): Remove unneeded variable assignment (diff) | |
download | nixos-config-763b9e3340299185240ec45b9c9b67602ce994ec.tar.gz nixos-config-763b9e3340299185240ec45b9c9b67602ce994ec.zip |
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`
Diffstat (limited to 'modules/home/conf/nvim/plgs/harpoon')
-rw-r--r-- | modules/home/conf/nvim/plgs/harpoon/default.nix | 18 |
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."; } ] |