add neo-tree for proper working editor
This commit is contained in:
		
							parent
							
								
									1a971cbdcf
								
							
						
					
					
						commit
						e32ba15aa4
					
				
							
								
								
									
										2
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										2
									
								
								init.lua
								
								
								
								
							| 
						 | 
					@ -210,7 +210,7 @@ require('lazy').setup({
 | 
				
			||||||
  --    Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
					  --    Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going.
 | 
				
			||||||
  --
 | 
					  --
 | 
				
			||||||
  --    For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
 | 
					  --    For additional information see: https://github.com/folke/lazy.nvim#-structuring-your-plugins
 | 
				
			||||||
  -- { import = 'custom.plugins' },
 | 
					   { import = 'custom.plugins' },
 | 
				
			||||||
}, {})
 | 
					}, {})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
-- [[ Setting options ]]
 | 
					-- [[ Setting options ]]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1,34 @@
 | 
				
			||||||
 | 
					-- Unless you are still migrating, remove the deprecated commands from v1.x
 | 
				
			||||||
 | 
					vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					return {
 | 
				
			||||||
 | 
					  "nvim-neo-tree/neo-tree.nvim",
 | 
				
			||||||
 | 
					  version = "*",
 | 
				
			||||||
 | 
					  dependencies = {
 | 
				
			||||||
 | 
					    "nvim-lua/plenary.nvim",
 | 
				
			||||||
 | 
					    "nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
 | 
				
			||||||
 | 
					    "MunifTanjim/nui.nvim",
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  opts = {
 | 
				
			||||||
 | 
					    sources = { "filesystem", "buffers", "git_status", "document_symbols" },
 | 
				
			||||||
 | 
					    open_files_do_not_replace_types = { "terminal", "Trouble", "qf", "Outline" },
 | 
				
			||||||
 | 
					    filesystem = {
 | 
				
			||||||
 | 
					      bind_to_cwd = false,
 | 
				
			||||||
 | 
					      follow_current_file = { enabled = true },
 | 
				
			||||||
 | 
					      use_libuv_file_watcher = true,
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    window = {
 | 
				
			||||||
 | 
					      mappings = {
 | 
				
			||||||
 | 
					        ["<space>"] = "none",
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					    default_component_configs = {
 | 
				
			||||||
 | 
					      indent = {
 | 
				
			||||||
 | 
					        with_expanders = true, -- if nil and file nesting is enabled, will enable expanders
 | 
				
			||||||
 | 
					        expander_collapsed = "",
 | 
				
			||||||
 | 
					        expander_expanded = "",
 | 
				
			||||||
 | 
					        expander_highlight = "NeoTreeExpander",
 | 
				
			||||||
 | 
					      },
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
		Reference in New Issue