context-treesitter added
This commit is contained in:
parent
e9b0ab5c8d
commit
e3ba5b0ec6
@ -1,6 +1,10 @@
|
|||||||
return {
|
return {
|
||||||
|
{
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
build = ":TSUpdate",
|
build = ":TSUpdate",
|
||||||
|
dependencies = {
|
||||||
|
"treesitter-context",
|
||||||
|
},
|
||||||
opts = {
|
opts = {
|
||||||
matchup = { enable = true },
|
matchup = { enable = true },
|
||||||
highlight = {
|
highlight = {
|
||||||
@ -29,4 +33,11 @@ return {
|
|||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
require("nvim-treesitter.configs").setup(opts)
|
require("nvim-treesitter.configs").setup(opts)
|
||||||
end,
|
end,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter-context",
|
||||||
|
name = "treesitter-context",
|
||||||
|
lazy = true,
|
||||||
|
opts = {},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user