From 4c0bce0ca7a03163c1da09499dcedae56d39a7be Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Tue, 27 May 2025 11:54:47 -0700 Subject: [PATCH] fix: context to max 2 lines --- lua/plugins/treesitter.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua index b21d1ff..81c7fae 100644 --- a/lua/plugins/treesitter.lua +++ b/lua/plugins/treesitter.lua @@ -13,7 +13,10 @@ return { end }, { - "nvim-treesitter/nvim-treesitter-context" + "nvim-treesitter/nvim-treesitter-context", + opts = { + max_lines = 2, + } }, { 'windwp/nvim-autopairs',