Revert 'refactor(nvim): remove nvim-treesitter-context'

This commit is contained in:
Price Hiller 2024-05-10 22:38:29 -05:00
parent a4b0ab3c84
commit 1579c71beb
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -25,8 +25,20 @@ return {
},
},
{
"PriceHiller/nvim-ts-autotag",
branch = "fix/close-xml-tags",
"nvim-treesitter/nvim-treesitter-context",
event = { "BufReadPre", "BufNewFile" },
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("treesitter-context").setup({
max_lines = 3,
})
vim.cmd.TSContextEnable()
end,
},
{
"windwp/nvim-ts-autotag",
dependencies = { "nvim-treesitter/nvim-treesitter" },
event = { "BufReadPre", "BufNewFile" },
opts = {