From 1045611756ece10a9f54ffcd4f997feffff20389 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 13 Sep 2023 00:07:04 +0200 Subject: nvim: Make use of treesitter textobjects --- .config/nvim/lua/mango/packer.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/mango/packer.lua') diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua index ac0af6c..3578a1f 100644 --- a/.config/nvim/lua/mango/packer.lua +++ b/.config/nvim/lua/mango/packer.lua @@ -17,7 +17,13 @@ return require('packer').startup(function(use) end } - use('nvim-treesitter/nvim-treesitter', { run = ':TSUpdate' }) + use { + 'nvim-treesitter/nvim-treesitter-textobjects', + after = 'nvim-treesitter', + requires = 'nvim-treesitter/nvim-treesitter', + run = ':TSUpdate', + } + use 'mbbill/undotree' use 'tpope/vim-fugitive' -- cgit v1.2.3