Skip to content

Commit

Permalink
plugins/telescope/fzy-native: add compatibility with combinePlugins
Browse files Browse the repository at this point in the history
  • Loading branch information
stasjok authored and traxys committed Jul 24, 2024
1 parent 61caa52 commit 5c75cfa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/telescope/extensions/fzy-native.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@
override_file_sorter = true;
override_generic_sorter = false;
};

extraConfig = cfg: {
# fzy-native itself is in deps directory
performance.combinePlugins.pathsToLink = [ "/deps/fzy-lua-native" ];
};
}
9 changes: 9 additions & 0 deletions tests/test-sources/plugins/telescope/fzy-native.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@
};
};
};

combine-plugins = {
plugins.telescope = {
enable = true;
extensions.fzy-native.enable = true;
};

performance.combinePlugins.enable = true;
};
}

0 comments on commit 5c75cfa

Please sign in to comment.