feat: Added cmd for ChadReload
This commit is contained in:
		
							parent
							
								
									9b4b288d01
								
							
						
					
					
						commit
						c02b1a063f
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -101,6 +101,10 @@ M.misc = function()
 | 
			
		|||
      -- add NvChadUpdate command and mapping
 | 
			
		||||
      cmd "silent! command! NvChadUpdate lua require('nvchad').update_nvchad()"
 | 
			
		||||
      map("n", maps.update_nvchad, ":NvChadUpdate <CR>")
 | 
			
		||||
 | 
			
		||||
      -- add ChadReload command and maping
 | 
			
		||||
      cmd "silent! command! NvChadReload lua require('chad_reload').Restart()"
 | 
			
		||||
 | 
			
		||||
   end
 | 
			
		||||
 | 
			
		||||
   local function user_config_mappings()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue