summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-02-11 16:17:06 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-02-11 16:17:06 +0100
commit95bd81cac39b131ae8341f35d6d405ff0f4d2983 (patch)
tree5e72cb2a6b254dfe1dea8956cff75ad87ac6780a
parentaa709978d232bc917d88961168afd5bc249ebfec (diff)
[nvim] add treesitter-context and -refactor plugins
-rw-r--r--.config/nvim/plugins.vim22
1 files changed, 22 insertions, 0 deletions
diff --git a/.config/nvim/plugins.vim b/.config/nvim/plugins.vim
index 1170f47..40b7f84 100644
--- a/.config/nvim/plugins.vim
+++ b/.config/nvim/plugins.vim
@@ -172,6 +172,28 @@ require('lazy').setup({
},
{
+ 'nvim-treesitter/nvim-treesitter-context',
+ event = 'CursorMoved',
+
+ dependencies = {
+ 'nvim-treesitter/nvim-treesitter',
+ },
+ },
+
+ {
+ 'nvim-treesitter/nvim-treesitter-refactor',
+ keys = {
+ 'gnd',
+ 'gnD',
+ 'gO',
+ },
+
+ dependencies = {
+ 'nvim-treesitter/nvim-treesitter',
+ },
+ },
+
+ {
'sindrets/diffview.nvim',
dependencies = {