From c7fc18917564605f83be9c490a38790a3ee595a2 Mon Sep 17 00:00:00 2001 From: Oliver Hartmann Date: Sun, 16 Jun 2024 22:49:05 +0200 Subject: [PATCH] removed unused stuff in treesitter --- lua/plugins/treesitter.lua | 24 ------------------------ 1 file changed, 24 deletions(-) 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