mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-03 20:22:21 +00:00 
			
		
		
		
	plugins/git: add vim-fugitive; modularize
This commit is contained in:
		
					parent
					
						
							
								165c3369aa
							
						
					
				
			
			
				commit
				
					
						f78696f13b
					
				
			
		
					 12 changed files with 206 additions and 130 deletions
				
			
		
							
								
								
									
										14
									
								
								modules/plugins/git/vim-fugitive/vim-fugitive.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								modules/plugins/git/vim-fugitive/vim-fugitive.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,14 @@
 | 
			
		|||
{
 | 
			
		||||
  config,
 | 
			
		||||
  lib,
 | 
			
		||||
  ...
 | 
			
		||||
}: let
 | 
			
		||||
  inherit (lib.options) mkEnableOption;
 | 
			
		||||
in {
 | 
			
		||||
  options.vim.git.vim-fugitive = {
 | 
			
		||||
    enable = mkEnableOption "vim-fugitive" // {default = config.vim.git.enable;};
 | 
			
		||||
 | 
			
		||||
    # TODO: sane default keybinds for vim-fugitive
 | 
			
		||||
    # mappings = {};
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue