summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango/packer.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-13 00:07:04 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-13 00:07:04 +0200
commit1045611756ece10a9f54ffcd4f997feffff20389 (patch)
tree9c0a4e919be2d6d66cd25be997dc717a8bcff99b /.config/nvim/lua/mango/packer.lua
parentdcc38607f207af8e2c0cebe36e49018929057f1b (diff)
nvim: Make use of treesitter textobjects
Diffstat (limited to '.config/nvim/lua/mango/packer.lua')
-rw-r--r--.config/nvim/lua/mango/packer.lua8
1 files changed, 7 insertions, 1 deletions
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'