mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-04 12:42:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			307 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			307 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  config,
 | 
						|
  lib,
 | 
						|
  ...
 | 
						|
}: let
 | 
						|
  inherit (lib.modules) mkIf;
 | 
						|
 | 
						|
  cfg = config.vim.visuals.fidget-nvim;
 | 
						|
in {
 | 
						|
  config = mkIf cfg.enable {
 | 
						|
    vim.lazy.plugins.fidget-nvim = {
 | 
						|
      package = "fidget-nvim";
 | 
						|
      setupModule = "fidget";
 | 
						|
      event = "LspAttach";
 | 
						|
      inherit (cfg) setupOpts;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |