diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-02-11 16:17:06 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-02-11 16:17:06 +0100 |
commit | 95bd81cac39b131ae8341f35d6d405ff0f4d2983 (patch) | |
tree | 5e72cb2a6b254dfe1dea8956cff75ad87ac6780a /.config | |
parent | aa709978d232bc917d88961168afd5bc249ebfec (diff) |
[nvim] add treesitter-context and -refactor plugins
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/plugins.vim | 22 |
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 = { |