Remove slow tree sitter stuff.
This commit is contained in:
		
							parent
							
								
									df438dd236
								
							
						
					
					
						commit
						6b63a64749
					
				
							
								
								
									
										54
									
								
								vimrc
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										54
									
								
								vimrc
									
									
									
									
									
								
							@ -107,9 +107,9 @@ if has('nvim-0.5')
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Plug 'nvim-lua/plenary.nvim'
 | 
					Plug 'nvim-lua/plenary.nvim'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
 | 
					" Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
 | 
				
			||||||
Plug 'nvim-treesitter/nvim-treesitter-textobjects'
 | 
					" Plug 'nvim-treesitter/nvim-treesitter-textobjects'
 | 
				
			||||||
Plug 'nvim-treesitter/playground'
 | 
					" Plug 'nvim-treesitter/playground'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Plug 'hrsh7th/nvim-compe'
 | 
					Plug 'hrsh7th/nvim-compe'
 | 
				
			||||||
if isdirectory(expand('~/lean.nvim'))
 | 
					if isdirectory(expand('~/lean.nvim'))
 | 
				
			||||||
@ -225,33 +225,33 @@ lua <<EOF
 | 
				
			|||||||
    },
 | 
					    },
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  require('nvim-treesitter.configs').setup{
 | 
					  -- require('nvim-treesitter.configs').setup{
 | 
				
			||||||
    -- playground = {
 | 
					  --   -- playground = {
 | 
				
			||||||
 | 
					  --   --   enable = true,
 | 
				
			||||||
 | 
					  --   --   disable = {},
 | 
				
			||||||
 | 
					  --   --   updatetime = 25,
 | 
				
			||||||
 | 
					  --   -- },
 | 
				
			||||||
 | 
					  --   -- query_linter = {
 | 
				
			||||||
 | 
					  --   --   enable = true,
 | 
				
			||||||
 | 
					  --   --   use_virtual_text = true,
 | 
				
			||||||
 | 
					  --   --   lint_events = {"BufWrite", "CursorHold"},
 | 
				
			||||||
 | 
					  --   -- },
 | 
				
			||||||
 | 
					  --   highlight = { enable = true },
 | 
				
			||||||
 | 
					  --   indent = { enable = true },
 | 
				
			||||||
 | 
					  --   textobjects = {
 | 
				
			||||||
 | 
					  --     select = {
 | 
				
			||||||
	-- enable = true,
 | 
						-- enable = true,
 | 
				
			||||||
    --   disable = {},
 | 
						-- keymaps = {
 | 
				
			||||||
    --   updatetime = 25,
 | 
						--   ["af"] = "@function.outer",
 | 
				
			||||||
 | 
						--   ["if"] = "@function.inner",
 | 
				
			||||||
 | 
						--   ["ac"] = "@class.outer",
 | 
				
			||||||
 | 
						--   ["ic"] = "@class.inner",
 | 
				
			||||||
 | 
						--   ["aa"] = "@parameter.outer",
 | 
				
			||||||
 | 
						--   ["ia"] = "@parameter.inner",
 | 
				
			||||||
	-- },
 | 
						-- },
 | 
				
			||||||
    -- query_linter = {
 | 
					 | 
				
			||||||
    --   enable = true,
 | 
					 | 
				
			||||||
    --   use_virtual_text = true,
 | 
					 | 
				
			||||||
    --   lint_events = {"BufWrite", "CursorHold"},
 | 
					 | 
				
			||||||
  --     },
 | 
					  --     },
 | 
				
			||||||
    highlight = { enable = true },
 | 
					  --   },
 | 
				
			||||||
    indent = { enable = true },
 | 
					  -- }
 | 
				
			||||||
    textobjects = {
 | 
					 | 
				
			||||||
      select = {
 | 
					 | 
				
			||||||
	enable = true,
 | 
					 | 
				
			||||||
	keymaps = {
 | 
					 | 
				
			||||||
	  ["af"] = "@function.outer",
 | 
					 | 
				
			||||||
	  ["if"] = "@function.inner",
 | 
					 | 
				
			||||||
	  ["ac"] = "@class.outer",
 | 
					 | 
				
			||||||
	  ["ic"] = "@class.inner",
 | 
					 | 
				
			||||||
	  ["aa"] = "@parameter.outer",
 | 
					 | 
				
			||||||
	  ["ia"] = "@parameter.inner",
 | 
					 | 
				
			||||||
	},
 | 
					 | 
				
			||||||
      },
 | 
					 | 
				
			||||||
    },
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
require'compe'.setup {
 | 
					require'compe'.setup {
 | 
				
			||||||
  enabled = true;
 | 
					  enabled = true;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user