From b89e94a3ba13ee095869454707b5e96e7784a41e Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 4 Dec 2024 01:20:28 +0100 Subject: [PATCH] feat: add treesitter-context --- lua/plugins.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lua/plugins.lua b/lua/plugins.lua index 7d4892a..e4a874b 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -77,12 +77,23 @@ return { config = function() require('nvim-treesitter.configs').setup({ highlight = { enable = true }, + indent = { enable = true }, }) vim.opt.foldmethod = "expr" vim.opt.foldexpr = "nvim_treesitter#foldexpr()" end }, + { + 'nvim-treesitter/nvim-treesitter', + config = function () + require('treesitter-context').setup({ + multiwindow = true, + min_window_height = 10, + }) + end + }, + { "nvim-neo-tree/neo-tree.nvim", branch = "v3.x",