From 60ebec1956a9e30e840bf03a77abb64968de1021 Mon Sep 17 00:00:00 2001 From: alfarel Date: Sun, 2 Mar 2025 12:19:29 -0500 Subject: [PATCH] utility/yazi-nvim: add missing dependency (snacks.nvim) `:checkhealth yazi` was warning about it. Project `README` recently added it to the requirements. --- docs/release-notes/rl-0.8.md | 4 ++++ modules/plugins/utility/yazi-nvim/config.nix | 1 + npins/sources.json | 12 ++++++++++++ 3 files changed, 17 insertions(+) diff --git a/docs/release-notes/rl-0.8.md b/docs/release-notes/rl-0.8.md index d81b142f..6027736a 100644 --- a/docs/release-notes/rl-0.8.md +++ b/docs/release-notes/rl-0.8.md @@ -196,3 +196,7 @@ [MaxMur](https://github.com/TheMaxMur) - Add YAML support under `vim.languages.yaml`. + +[alfarel](https://github.com/alfarelcynthesis): + +- Add missing `yazi.nvim` dependency (`snacks.nvim`). diff --git a/modules/plugins/utility/yazi-nvim/config.nix b/modules/plugins/utility/yazi-nvim/config.nix index a781e5f0..e6a85d68 100644 --- a/modules/plugins/utility/yazi-nvim/config.nix +++ b/modules/plugins/utility/yazi-nvim/config.nix @@ -15,6 +15,7 @@ in { config = mkIf cfg.enable { vim = { + startPlugins = ["snacks-nvim"]; lazy.plugins."yazi.nvim" = { package = pkgs.vimPlugins.yazi-nvim; setupModule = "yazi"; diff --git a/npins/sources.json b/npins/sources.json index 0dc9e21b..d196ff99 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -1880,6 +1880,18 @@ "url": "https://github.com/m4xshen/smartcolumn.nvim/archive/92f3773af80d674f1eb61e112dca79e2fa449fd1.tar.gz", "hash": "0k1xnyvblshn4fhbxgl0i34j22n55xlwr09sdmb23l57br5rb07q" }, + "snacks-nvim": { + "type": "Git", + "repository": { + "type": "GitHub", + "owner": "folke", + "repo": "snacks.nvim" + }, + "branch": "main", + "revision": "bc0630e43be5699bb94dadc302c0d21615421d93", + "url": "https://github.com/folke/snacks.nvim/archive/bc0630e43be5699bb94dadc302c0d21615421d93.tar.gz", + "hash": "0a5nw7xa33shag1h12gf930g3vcixbwk8dxv0ji4980ycskh238v" + }, "sqls-nvim": { "type": "Git", "repository": {