diff --git a/plugins/telescope/extensions/fzf-native.nix b/plugins/telescope/extensions/fzf-native.nix index 8742c639b7..d159b223f8 100644 --- a/plugins/telescope/extensions/fzf-native.nix +++ b/plugins/telescope/extensions/fzf-native.nix @@ -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" ]; + }; } diff --git a/tests/test-sources/plugins/telescope/fzf-native.nix b/tests/test-sources/plugins/telescope/fzf-native.nix index 7cf63acd80..6a1b2c8707 100644 --- a/tests/test-sources/plugins/telescope/fzf-native.nix +++ b/tests/test-sources/plugins/telescope/fzf-native.nix @@ -22,4 +22,13 @@ }; }; }; + + combine-plugins = { + plugins.telescope = { + enable = true; + extensions.fzf-native.enable = true; + }; + + performance.combinePlugins.enable = true; + }; }