mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-04 12:42:21 +00:00 
			
		
		
		
	
		
			Some checks are pending
		
		
	
	Set up binary cache / cachix (default) (push) Waiting to run
				
			Set up binary cache / cachix (maximal) (push) Waiting to run
				
			Set up binary cache / cachix (nix) (push) Waiting to run
				
			Validate flake & check documentation / Validate Flake Documentation (push) Waiting to run
				
			Validate flake & check documentation / Validate hyperlinks in documentation sources (push) Waiting to run
				
			Validate flake & check formatting / Validate Flake (push) Waiting to run
				
			Validate flake & check formatting / Formatting via Alejandra (push) Waiting to run
				
			Build and deploy documentation / Check latest commit (push) Waiting to run
				
			Build and deploy documentation / publish (push) Blocked by required conditions
				
			Check for typos in the source tree / check-typos (push) Waiting to run
				
			* pins: point lspsaga to new source Stop using the fork, the author is back. * pins: point lspsaga to new source Stop using the fork, the author is back.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{
 | 
						|
  config,
 | 
						|
  lib,
 | 
						|
  ...
 | 
						|
}: let
 | 
						|
  inherit (lib.modules) mkIf mkDefault;
 | 
						|
 | 
						|
  cfg = config.vim.lsp;
 | 
						|
in {
 | 
						|
  config = mkIf (cfg.enable && cfg.lspsaga.enable) {
 | 
						|
    vim = {
 | 
						|
      lazy.plugins.lspsaga-nvim = {
 | 
						|
        package = "lspsaga-nvim";
 | 
						|
        setupModule = "lspsaga";
 | 
						|
        inherit (cfg.lspsaga) setupOpts;
 | 
						|
 | 
						|
        event = ["LspAttach"];
 | 
						|
      };
 | 
						|
 | 
						|
      # Optional dependencies, pretty useful to enhance default functionality of
 | 
						|
      # Lspsaga.
 | 
						|
      treesitter.enable = mkDefault true;
 | 
						|
      visuals.nvim-web-devicons.enable = mkDefault true;
 | 
						|
    };
 | 
						|
  };
 | 
						|
}
 |