diff --git a/dots/.config/nvim/lua/plugins/configs/treesitter.lua b/dots/.config/nvim/lua/plugins/configs/treesitter.lua index 7d610a1e..1de4ede7 100644 --- a/dots/.config/nvim/lua/plugins/configs/treesitter.lua +++ b/dots/.config/nvim/lua/plugins/configs/treesitter.lua @@ -31,7 +31,9 @@ return { "nvim-treesitter/nvim-treesitter", }, config = function() - require("treesitter-context").setup({}) + require("treesitter-context").setup({ + max_lines = 3 + }) vim.cmd.TSContextEnable() end, },