Added filetree
This commit is contained in:
		
							parent
							
								
									72364ad9ac
								
							
						
					
					
						commit
						ffc401517b
					
				
							
								
								
									
										8
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										8
									
								
								init.lua
								
								
								
								
							| 
						 | 
				
			
			@ -288,10 +288,10 @@ vim.keymap.set('n', '<leader>sd', require('telescope.builtin').diagnostics, { de
 | 
			
		|||
-- See `:help nvim-treesitter`
 | 
			
		||||
require('nvim-treesitter.configs').setup {
 | 
			
		||||
  -- Add languages to be installed here that you want installed for treesitter
 | 
			
		||||
  ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim' },
 | 
			
		||||
  ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'help', 'vim', 'ruby' },
 | 
			
		||||
 | 
			
		||||
  -- Autoinstall languages that are not installed. Defaults to false (but you can change for yourself!)
 | 
			
		||||
  auto_install = false,
 | 
			
		||||
  auto_install = true,
 | 
			
		||||
 | 
			
		||||
  highlight = { enable = true },
 | 
			
		||||
  indent = { enable = true, disable = { 'python' } },
 | 
			
		||||
| 
						 | 
				
			
			@ -408,7 +408,7 @@ end
 | 
			
		|||
--  the `settings` field of the server config. You must look up that documentation yourself.
 | 
			
		||||
local servers = {
 | 
			
		||||
  -- clangd = {},
 | 
			
		||||
  -- gopls = {},
 | 
			
		||||
  gopls = {},
 | 
			
		||||
  -- pyright = {},
 | 
			
		||||
  -- rust_analyzer = {},
 | 
			
		||||
  -- tsserver = {},
 | 
			
		||||
| 
						 | 
				
			
			@ -474,7 +474,7 @@ cmp.setup {
 | 
			
		|||
      elseif luasnip.expand_or_jumpable() then
 | 
			
		||||
        luasnip.expand_or_jump()
 | 
			
		||||
      else
 | 
			
		||||
        fallback()
 | 
			
		||||
       fallback()
 | 
			
		||||
      end
 | 
			
		||||
    end, { 'i', 's' }),
 | 
			
		||||
    ['<S-Tab>'] = cmp.mapping(function(fallback)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
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",
 | 
			
		||||
  },
 | 
			
		||||
  config = function ()
 | 
			
		||||
    -- Unless you are still migrating, remove the deprecated commands from v1.x
 | 
			
		||||
    vim.cmd([[ let g:neo_tree_remove_legacy_commands = 1 ]])
 | 
			
		||||
 | 
			
		||||
    require('neo-tree').setup {}
 | 
			
		||||
  end,
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue