From da454058fcdb183c8f36a7eef995548cfbe372c8 Mon Sep 17 00:00:00 2001 From: Pei Yang Ching <59727193+horriblename@users.noreply.github.com> Date: Mon, 30 Sep 2024 19:20:14 +0200 Subject: [PATCH] lzn-auto-require: switch to dev branch --- flake.lock | 7 ++++--- flake.nix | 2 +- modules/wrapper/rc/config.nix | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 2cb7d6d2..afff7874 100644 --- a/flake.lock +++ b/flake.lock @@ -831,15 +831,16 @@ "plugin-lzn-auto-require": { "flake": false, "locked": { - "lastModified": 1724239920, - "narHash": "sha256-wNtja4vbfzgVwVh8fw6cfTHxcxPOqr6z4nl5Fjj2d0I=", + "lastModified": 1727636949, + "narHash": "sha256-BAOzN+XOrFAJwHmsF8JtZ2EyjP9283FD/I2TbFqGSEw=", "owner": "horriblename", "repo": "lzn-auto-require", - "rev": "c74fa9be2203438aab7fd132310abdb181426c66", + "rev": "55ecd60831dac8c01d6f3dcb63a30a63a1690eb8", "type": "github" }, "original": { "owner": "horriblename", + "ref": "require-rewrite", "repo": "lzn-auto-require", "type": "github" } diff --git a/flake.nix b/flake.nix index 86310ae5..cbebb332 100644 --- a/flake.nix +++ b/flake.nix @@ -120,7 +120,7 @@ }; plugin-lzn-auto-require = { - url = "github:horriblename/lzn-auto-require"; + url = "github:horriblename/lzn-auto-require/require-rewrite"; flake = false; }; diff --git a/modules/wrapper/rc/config.nix b/modules/wrapper/rc/config.nix index 9f667aeb..db90ce69 100644 --- a/modules/wrapper/rc/config.nix +++ b/modules/wrapper/rc/config.nix @@ -87,7 +87,7 @@ in { extraPluginConfigs = entryAfter ["pluginConfigs"] extraPluginConfigs; mappings = entryAfter ["extraPluginConfigs"] keymaps; # FIXME: put this somewhere less stupid - footer = entryAfter ["mappings"] (optionalString config.vim.lazy.enable "require('lzn-auto-require.loader').register_loader()"); + footer = entryAfter ["mappings"] (optionalString config.vim.lazy.enable "require('lzn-auto-require').enable()"); }; builtLuaConfigRC = let