diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index afbe747..10ab2b3 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -24,30 +24,6 @@ return { indent = { enable = false, -- maybe buggy }, - textobjects = { - select = { - enable = true, - - -- Automatically jump forward to textobj, similar to targets.vim - lookahead = true, - - keymaps = { - -- You can use the capture groups defined in textobjects.scm - ['af'] = '@function.outer', - ['if'] = '@function.inner', - ['ac'] = '@class.outer', - ['ic'] = '@class.inner', - }, - }, - lsp_interop = { - enable = true, - border = 'none', - peek_definition_code = { - ['df'] = '@function.outer', - ['dF'] = '@class.outer', - }, - }, - }, }) vim.treesitter.language.register('groovy', 'java') require('nvim-treesitter.install').prefer_git = false