nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
6.1k stars 1.65k forks source link

zsh: add programs.zsh.autosuggestions.strategy option #5396

Open JohnRTitor opened 2 weeks ago

JohnRTitor commented 2 weeks ago

Description

zsh: add programs.zsh.autosuggestions.strategy option like in nixpkgs. The option defaults to history.

Checklist

Maintainer CC

JohnRTitor commented 2 weeks ago

The eval is failing? Not sure why, though.

EDIT: Ahhh?

       error: function 'mkOption' called with unexpected argument 'strategy'
       at /nix/store/asymc3nsl739p1wwr0w6xbjnqs3qb94p-source/lib/options.nix:67:5:
           66|   mkOption =
           67|     {
JohnRTitor commented 2 days ago

@rycee I think this is ready for review. Please check. Thanks