mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			525 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			525 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {lib, ...}: let
 | |
|   inherit (lib.options) mkEnableOption;
 | |
|   inherit (lib.nvim.types) mkPluginSetupOption;
 | |
|   inherit (lib.nvim.binds) mkMappingOption;
 | |
| in {
 | |
|   options = {
 | |
|     vim.runner.run-nvim = {
 | |
|       enable = mkEnableOption "run.nvim";
 | |
|       setupOpts = mkPluginSetupOption "run.nvim" {};
 | |
| 
 | |
|       mappings = {
 | |
|         run = mkMappingOption "Run cached" "<leader>ri";
 | |
|         runOverride = mkMappingOption "Run and override" "<leader>ro";
 | |
|         runCommand = mkMappingOption "Run prompt" "<leader>rc";
 | |
|       };
 | |
|     };
 | |
|   };
 | |
| }
 | 
