From a674d241fbf5423b64032eccb5f8c0cc99041dbb Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Fri, 6 Jan 2023 02:33:53 +0100 Subject: [PATCH] vimPlugins.playground: fix missing dependency I just spent too much time trying to understand why the query editor woudn't work when the solution was just to install the query grammar, see https://github.com/nvim-treesitter/playground/issues/88#issuecomment-1373019566 --- 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 8d5f6bcd27d34..0e4709f3aeb07 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -711,6 +711,13 @@ self: super: { inherit parinfer-rust; + playground = super.playground.overrideAttrs (old: { + dependencies = with self; [ + # we need the 'query' grammer to make + (nvim-treesitter.withPlugins (p: [ p.query ])) + ]; + }); + plenary-nvim = super.plenary-nvim.overrideAttrs (old: { postPatch = '' sed -Ei lua/plenary/curl.lua \