refactor(nvim): only allow 3 lines of TS context to show

This commit is contained in:
Price Hiller 2023-11-05 13:48:42 -06:00
parent 2bb4b7374d
commit f40432b440
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -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,
},