Skip to content

Commit

Permalink
plugins/telescope/fzf-native: add compatibility with combinePlugins
Browse files Browse the repository at this point in the history
  • Loading branch information
stasjok committed Jul 24, 2024
1 parent 8e8932a commit d2a1e63
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/fzf-native.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@
override_file_sorter = false;
case_mode = "ignore_case";
};

extraConfig = cfg: {
# Native library is in build/libfzf.so
performance.combinePlugins.pathsToLink = [ "/build" ];
};
}
9 changes: 9 additions & 0 deletions tests/test-sources/plugins/telescope/fzf-native.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,13 @@
};
};
};

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

performance.combinePlugins.enable = true;
};
}

0 comments on commit d2a1e63

Please sign in to comment.