From 0e50bc857ad8e1039961cfc8d55461ae08281fef Mon Sep 17 00:00:00 2001 From: midischwarz12 Date: Tue, 17 Mar 2026 16:14:23 -0500 Subject: [PATCH] leetcode: avoid duplicate fzf-lua Fixes the following evaluation warning: > evaluation warning: mnw: both startAttrs."fzf-lua" and optAttrs."fzf-lua" are defined and not null > This will cause the plugin to be installed under /opt and /start. --- docs/manual/release-notes/rl-0.9.md | 4 ++++ modules/plugins/utility/leetcode-nvim/config.nix | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/manual/release-notes/rl-0.9.md b/docs/manual/release-notes/rl-0.9.md index b0a424fc..56464d42 100644 --- a/docs/manual/release-notes/rl-0.9.md +++ b/docs/manual/release-notes/rl-0.9.md @@ -64,6 +64,10 @@ - Changed the prettier-plugin-astro build to use `writableTmpDirAsHomeHook` to avoid pnpm hook failures in sandboxed builds. +- Fix `vim.utility.leetcode-nvim` adding `fzf-lua` to `vim.startPlugins` when + `vim.fzf-lua` already manages the plugin lazily, avoiding duplicate `/start` + and `/opt` installs and the corresponding `mnw` evaluation warning. + [taylrfnt](https://github.com/taylrfnt) - Introduce a `darwinModule` option for Darwin users. The ergonomics of diff --git a/modules/plugins/utility/leetcode-nvim/config.nix b/modules/plugins/utility/leetcode-nvim/config.nix index e0b32938..1d205b1b 100644 --- a/modules/plugins/utility/leetcode-nvim/config.nix +++ b/modules/plugins/utility/leetcode-nvim/config.nix @@ -11,7 +11,6 @@ in { vim = { startPlugins = [ "plenary-nvim" - "fzf-lua" "nui-nvim" ];