use function in init opts for all plugins
if this isnt done then disabling a plugin will still have its init opt called, read https://github.com/NvChad/NvChad/discussions/1879
This commit is contained in:
		
							parent
							
								
									8ec2cb3b76
								
							
						
					
					
						commit
						a5906e48fb
					
				
					 2 changed files with 24 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -329,7 +329,6 @@ M.nvterm = {
 | 
			
		|||
    },
 | 
			
		||||
 | 
			
		||||
    -- new
 | 
			
		||||
 | 
			
		||||
    ["<leader>h"] = {
 | 
			
		||||
      function()
 | 
			
		||||
        require("nvterm.terminal").new "horizontal"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue