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

This commit is contained in:
Folke Lemaitre 2023-10-12 00:11:12 +02:00
parent cb6832d8ad
commit f535fb6891
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -103,6 +103,15 @@ return {
require("nvim-treesitter.configs").setup(opts)
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
{
"windwp/nvim-ts-autotag",