From 95bd81cac39b131ae8341f35d6d405ff0f4d2983 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 11 Feb 2024 16:17:06 +0100 Subject: [nvim] add treesitter-context and -refactor plugins --- .config/nvim/plugins.vim | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ -171,6 +171,28 @@ require('lazy').setup({ end, }, + { + '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', -- cgit v1.2.3