From 3120c51c8490f7c66f2f747a4ae2e308910a9d5e Mon Sep 17 00:00:00 2001 From: Devin Lumley <2636402+devinwl@users.noreply.github.com> Date: Thu, 4 Jan 2024 20:01:07 -0800 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',