mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +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)
|
||||
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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue