Skip to content

Commit

Permalink
refactoring: fix conditional lazyLoad
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 28, 2025
1 parent 4c3a7b4 commit f70f4c5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions modules/nixvim/plugins/refactoring/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

lazyLoad = {
settings = {
before.__raw = lib.mkIf config.plugins.telescope.enable ''
require('lz.n').trigger_load('telescope')
'';
before = lib.mkIf config.plugins.telescope.enable {
__raw = ''
require('lz.n').trigger_load('telescope')
'';
};
cmd = "Refactor";
keys = lib.mkIf config.plugins.telescope.enable [
{
Expand Down

0 comments on commit f70f4c5

Please sign in to comment.