From 025d862be6a2231278fc68246b3d5b67f7228e6e Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 28 Dec 2022 15:50:21 +0100 Subject: [PATCH 1/2] vimPlugins.orgmode: add treesitter dependencies --- pkgs/applications/editors/vim/plugins/overrides.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 08b8ae20412e..7ae95ec948ec 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -693,6 +693,10 @@ self: super: { configurePhase = "cd vim"; }); + orgmode = super.orgmode.overrideAttrs (old: { + dependencies = with self; [ (nvim-treesitter.withPlugins (p: [ p.org ])) ]; + }); + inherit parinfer-rust; plenary-nvim = super.plenary-nvim.overrideAttrs (old: { From 1f573777e36bb3c9e29d47f3c2f010e1efbddb03 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Wed, 28 Dec 2022 15:50:53 +0100 Subject: [PATCH 2/2] vimPlugins.rest-nvim: add treesitter dependencies --- pkgs/applications/editors/vim/plugins/overrides.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 7ae95ec948ec..140a3b317ce9 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -719,7 +719,10 @@ self: super: { # needs "http" and "json" treesitter grammars too rest-nvim = super.rest-nvim.overrideAttrs (old: { - dependencies = with self; [ plenary-nvim ]; + dependencies = with self; [ + plenary-nvim + (nvim-treesitter.withPlugins (p: [ p.http p.json ])) + ]; }); skim = buildVimPluginFrom2Nix {