From 7b4ff390b5d7c698acced64c0633227143ccf49c Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 9 May 2024 16:32:33 +0200 Subject: chore(treewide): Conform to changed settings --- hm/soispha/conf/lf/default.nix | 2 +- hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix | 2 +- .../conf/nvim/plgs/telescope/extensions/frecency/default.nix | 9 +++++---- hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix | 4 +++- 4 files changed, 10 insertions(+), 7 deletions(-) (limited to 'hm') diff --git a/hm/soispha/conf/lf/default.nix b/hm/soispha/conf/lf/default.nix index 260b01fb..7b604ed0 100644 --- a/hm/soispha/conf/lf/default.nix +++ b/hm/soispha/conf/lf/default.nix @@ -53,7 +53,7 @@ in { cmd on-quit %${pkgs.ctpv}/bin/ctpv -e $id set cleaner ${pkgs.ctpv}/bin/ctpvclear - source ${nixosConfig.age.secrets.lf.cd_paths} + source ${nixosConfig.age.secrets.lf_cd_paths.path} ''; }; } diff --git a/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix b/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix index 1d88aad8..933089ef 100644 --- a/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix +++ b/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix @@ -1,5 +1,5 @@ {...}: { - programs.nixvim.plugins.telescope.defaults = { + programs.nixvim.plugins.telescope.settings.defaults = { mappings = let insert_and_normal_mappings = { # map actions.which_key to (default: ) diff --git a/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix b/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix index b236f3c5..c1cebc09 100644 --- a/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix +++ b/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix @@ -12,10 +12,11 @@ plugins.telescope = { extensions.frecency = { enable = true; - showUnindexed = true; - showScores = true; - # TODO: add this: - #db_safe_mode = true; + settings = { + show_scores = true; + db_safe_mode = false; + default_workspace = "CWD"; # or 'LSP' + }; }; }; }; diff --git a/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix b/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix index f0745f73..e551cc5a 100644 --- a/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix +++ b/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix @@ -2,7 +2,9 @@ programs.nixvim.plugins.telescope.keymaps = { "rg" = { action = "live_grep"; - desc = "[rg] in a live session"; + options = { + desc = "[rg] in a live session"; + }; }; }; } -- cgit 1.4.1