Skip to content

Commit a674d24

Browse files
author
Matthieu Coudron
committed
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 nvim-treesitter/playground#88 (comment)
1 parent fb1cb44 commit a674d24

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: pkgs/applications/editors/vim/plugins/overrides.nix

+7
Original file line numberDiff line numberDiff line change
@@ -711,6 +711,13 @@ self: super: {
711711

712712
inherit parinfer-rust;
713713

714+
playground = super.playground.overrideAttrs (old: {
715+
dependencies = with self; [
716+
# we need the 'query' grammer to make
717+
(nvim-treesitter.withPlugins (p: [ p.query ]))
718+
];
719+
});
720+
714721
plenary-nvim = super.plenary-nvim.overrideAttrs (old: {
715722
postPatch = ''
716723
sed -Ei lua/plenary/curl.lua \

0 commit comments

Comments
 (0)