Neotree close on only window open
This commit is contained in:
		
							parent
							
								
									046e0b1477
								
							
						
					
					
						commit
						a35bc79b5f
					
				| 
						 | 
					@ -10,6 +10,8 @@ return {
 | 
				
			||||||
    -- Unless you are still migrating, remove the deprecated commands from v1.x
 | 
					    -- Unless you are still migrating, remove the deprecated commands from v1.x
 | 
				
			||||||
    vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
 | 
					    vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    require('neo-tree').setup {}
 | 
					    require('neo-tree').setup {
 | 
				
			||||||
 | 
					      close_if_last_window = true,
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  end,
 | 
					  end,
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue