Skip to content

Commit

Permalink
vimPlugins.playground: fix missing dependency
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Matthieu Coudron committed Jan 6, 2023
1 parent fb1cb44 commit a674d24
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit a674d24

Please sign in to comment.