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
teto committed Jan 7, 2023
1 parent 4464bb0 commit 5e9f8e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/applications/editors/vim/plugins/overrides.nix
Expand Up @@ -729,6 +729,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 5e9f8e9

Please sign in to comment.