feat(treesitter): add nvim-treesitter-context by default
This commit is contained in:
1 parent
13dbe4ad55
commit
7b2c317407
1 file changed
+9
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user