mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-01 03:22:39 +00:00 
			
		
		
		
	flake: update run.nvim
This commit is contained in:
		
					parent
					
						
							
								7dd2026b9d
							
						
					
				
			
			
				commit
				
					
						672630f680
					
				
			
		
					 2 changed files with 6 additions and 14 deletions
				
			
		|  | @ -20,17 +20,9 @@ in { | |||
|         cmd = "Run"; | ||||
| 
 | ||||
|         keys = [ | ||||
|           (mkKeymap "n" cfg.mappings.run "<cmd>Run<CR>" {desc = mappings.run.description;}) | ||||
|           (mkKeymap "n" cfg.mappings.runOverride "<cmd>Run!<CR>" {desc = mappings.runOverride.description;}) | ||||
|           (mkKeymap "n" cfg.mappings.runCommand '' | ||||
|               function() | ||||
|                 local input = vim.fn.input("Run command: ") | ||||
|                 if input ~= "" then require("run").run(input, false) end | ||||
|               end | ||||
|             '' { | ||||
|               desc = mappings.run.description; | ||||
|               lua = true; | ||||
|             }) | ||||
|           (mkKeymap "n" cfg.mappings.run "<cmd>Run<cr>" {desc = mappings.run.description;}) | ||||
|           (mkKeymap "n" cfg.mappings.runOverride "<cmd>Run!<cr>" {desc = mappings.runOverride.description;}) | ||||
|           (mkKeymap "n" cfg.mappings.runCommand "<cmd>RunPrompt<cr>" {desc = mappings.run.description;}) | ||||
|         ]; | ||||
|       }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 diniamo
				diniamo