From 0d4a626946f858d67527ddea7ae11c7c49642d54 Mon Sep 17 00:00:00 2001 From: "\"Thales Menato\"" <"8753631+thamenato@users.noreply.github.com"> Date: Sun, 6 Apr 2025 14:08:55 -0400 Subject: [PATCH 1/3] vimPlugins.neovim-trunk: init at 2024-06-19 --- .../editors/vim/plugins/generated.nix | 24 +++++++++++++------ .../editors/vim/plugins/vim-plugin-names | 1 + 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 1846ec23fbce..7b2458c89390 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -1,12 +1,8 @@ # GENERATED by ./pkgs/applications/editors/vim/plugins/utils/update.py. Do not edit! -{ - lib, - buildVimPlugin, - buildNeovimPlugin, - fetchFromGitHub, -}: +{ lib, buildVimPlugin, buildNeovimPlugin, fetchFromGitHub }: -final: prev: { +final: prev: +{ BetterLua-vim = buildVimPlugin { pname = "BetterLua.vim"; version = "2020-08-14"; @@ -9347,6 +9343,19 @@ final: prev: { meta.hydraPlatforms = [ ]; }; + neovim-trunk = buildVimPlugin { + pname = "neovim-trunk"; + version = "2024-06-19"; + src = fetchFromGitHub { + owner = "trunk-io"; + repo = "neovim-trunk"; + rev = "835180d0cb2db4aa3a934daf65b1a56549018b94"; + sha256 = "086l7zf2k2p537a13zwivfkamfgpdkrfgq5r23y014s2x2jrh5dw"; + }; + meta.homepage = "https://github.com/trunk-io/neovim-trunk/"; + meta.hydraPlatforms = [ ]; + }; + neoyank-vim = buildVimPlugin { pname = "neoyank.vim"; version = "2020-12-20"; @@ -21468,4 +21477,5 @@ final: prev: { meta.hydraPlatforms = [ ]; }; + } diff --git a/pkgs/applications/editors/vim/plugins/vim-plugin-names b/pkgs/applications/editors/vim/plugins/vim-plugin-names index 2bbafd674a4f..7d71e8b6e8b9 100644 --- a/pkgs/applications/editors/vim/plugins/vim-plugin-names +++ b/pkgs/applications/editors/vim/plugins/vim-plugin-names @@ -717,6 +717,7 @@ https://github.com/lawrence-laz/neotest-zig/,HEAD, https://github.com/Shatur/neovim-ayu/,, https://github.com/cloudhead/neovim-fuzzy/,, https://github.com/jeffkreeftmeijer/neovim-sensible/,, +https://github.com/trunk-io/neovim-trunk/,HEAD, https://github.com/Shougo/neoyank.vim/,, https://github.com/preservim/nerdcommenter/,, https://github.com/preservim/nerdtree/,, From 6b993d36a1346c430625c1c337695f32d374ff42 Mon Sep 17 00:00:00 2001 From: Thales Menato <8753631+thamenato@users.noreply.github.com> Date: Sun, 6 Apr 2025 14:22:43 -0400 Subject: [PATCH 2/3] add: neovim-trunk dependencies --- pkgs/applications/editors/vim/plugins/overrides.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 151ac986e3b6..eabab9545296 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -2153,6 +2153,13 @@ in ]; }; + neovim-trunk = super.neovim-trunk.overrideAttrs { + dependencies = with self; [ + plenary-nvim + telescope-nvim + ]; + }; + nlsp-settings-nvim = super.nlsp-settings-nvim.overrideAttrs { dependencies = [ self.nvim-lspconfig ]; }; From 449fe1a49915f9b1e4294de7a650c576337a3ee5 Mon Sep 17 00:00:00 2001 From: Thales Menato <8753631+thamenato@users.noreply.github.com> Date: Sun, 6 Apr 2025 14:34:16 -0400 Subject: [PATCH 3/3] chore: run nixfmt against generated.nix file --- pkgs/applications/editors/vim/plugins/generated.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index 7b2458c89390..046ecc73e3a7 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -1,8 +1,12 @@ # GENERATED by ./pkgs/applications/editors/vim/plugins/utils/update.py. Do not edit! -{ lib, buildVimPlugin, buildNeovimPlugin, fetchFromGitHub }: - -final: prev: { + lib, + buildVimPlugin, + buildNeovimPlugin, + fetchFromGitHub, +}: + +final: prev: { BetterLua-vim = buildVimPlugin { pname = "BetterLua.vim"; version = "2020-08-14"; @@ -21477,5 +21481,4 @@ final: prev: meta.hydraPlatforms = [ ]; }; - }