Remove slow tree sitter stuff.

This commit is contained in:
Gabriel Ebner 2021-10-28 12:08:05 +02:00
parent df438dd236
commit 6b63a64749

60
vimrc

@ -107,9 +107,9 @@ if has('nvim-0.5')
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'nvim-treesitter/nvim-treesitter-textobjects'
Plug 'nvim-treesitter/playground'
" Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
" Plug 'nvim-treesitter/nvim-treesitter-textobjects'
" Plug 'nvim-treesitter/playground'
Plug 'hrsh7th/nvim-compe'
if isdirectory(expand('~/lean.nvim'))
@ -225,33 +225,33 @@ lua <<EOF
},
}
require('nvim-treesitter.configs').setup{
-- 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,
keymaps = {
["af"] = "@function.outer",
["if"] = "@function.inner",
["ac"] = "@class.outer",
["ic"] = "@class.inner",
["aa"] = "@parameter.outer",
["ia"] = "@parameter.inner",
},
},
},
}
-- require('nvim-treesitter.configs').setup{
-- -- 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,
-- keymaps = {
-- ["af"] = "@function.outer",
-- ["if"] = "@function.inner",
-- ["ac"] = "@class.outer",
-- ["ic"] = "@class.inner",
-- ["aa"] = "@parameter.outer",
-- ["ia"] = "@parameter.inner",
-- },
-- },
-- },
-- }
require'compe'.setup {
enabled = true;