feat(treesitter): add nvim-treesitter-context by default

This commit is contained in:
Folke Lemaitre 2023-10-12 00:11:12 +02:00
parent 13dbe4ad55
commit 7b2c317407

View file

@ -103,6 +103,15 @@ return {
require("nvim-treesitter.configs").setup(opts) require("nvim-treesitter.configs").setup(opts)
end, end,
}, },
-- Show context of the current function
{
"nvim-treesitter/nvim-treesitter-context",
event = "LazyFile",
enabled = true,
opts = { mode = "cursor" },
},
-- Automatically add closing tags for HTML and JSX -- Automatically add closing tags for HTML and JSX
{ {
"windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag",