sort out nvim-tree
This commit is contained in:
		
							parent
							
								
									2b9088acbf
								
							
						
					
					
						commit
						896451558b
					
				
					 1 changed files with 15 additions and 7 deletions
				
			
		|  | @ -12,8 +12,8 @@ return require('packer').startup(function() | |||
|   vim.cmd('source ~/.config/nvim/lua/nvim-tree-config.vim') | ||||
| 
 | ||||
|   use { | ||||
|     'kyazdani42/nvim-tree.lua', | ||||
|     requires = 'kyazdani42/nvim-web-devicons', | ||||
|     'nvim-tree/nvim-tree.lua', | ||||
|     requires = 'nvim-tree/nvim-web-devicons', | ||||
|     config = function() require'nvim-tree'.setup { | ||||
|         create_in_closed_folder = false, | ||||
|         disable_netrw       = true, | ||||
|  | @ -28,7 +28,7 @@ return require('packer').startup(function() | |||
|             ignore = true | ||||
|         }, | ||||
|         diagnostics = { | ||||
|             enable = false, | ||||
|             enable = true, | ||||
|             icons = { | ||||
|                 hint = "", | ||||
|                 info = "", | ||||
|  | @ -107,12 +107,22 @@ return require('packer').startup(function() | |||
|             } | ||||
|         }, | ||||
|         view = { | ||||
|             width = 30, | ||||
|             hide_root_folder = false, | ||||
|             side = 'left', | ||||
|             mappings = { | ||||
|                 custom_only = false, | ||||
|                 list = {} | ||||
|             }, | ||||
|             float = { | ||||
|                 enable = true, | ||||
|                 quit_on_focus_loss = true, | ||||
|                 open_win_config = { | ||||
|                     relative = "editor", | ||||
|                     border = "rounded", | ||||
|                     width = 30, | ||||
|                     height = 30, | ||||
|                     row = 1, | ||||
|                     col = 1, | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } end | ||||
|  | @ -141,12 +151,10 @@ return require('packer').startup(function() | |||
| 
 | ||||
|   use { 'cespare/vim-toml' } | ||||
|   use { 'folke/trouble.nvim' } | ||||
|   use { 'glepnir/lspsaga.nvim' } | ||||
|   use { 'hrsh7th/nvim-compe' } | ||||
|   use { 'jacoborus/tender.vim' } | ||||
|   use { 'RRethy/vim-illuminate' } | ||||
|   use { 'rust-lang/rust.vim' } | ||||
|   use { 'scrooloose/nerdtree' } | ||||
|   use { 'vim-scripts/DrawIt' } | ||||
|   use { 'gleam-lang/gleam.vim' } | ||||
| 
 | ||||
|  |  | |||
		Reference in a new issue