mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 01:38:54 +02:00
feat(treesitter): add nvim-treesitter-context by default
This commit is contained in:
parent
cb6832d8ad
commit
f535fb6891
1 changed files with 9 additions and 0 deletions
|
@ -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",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue