(neovim) introduce treesitter-context
This commit is contained in:
parent
41114a6bcb
commit
593d890ba4
1 changed files with 21 additions and 10 deletions
|
@ -24,6 +24,7 @@ if MainHost then
|
|||
end
|
||||
|
||||
return {
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
event = "VeryLazy",
|
||||
|
@ -34,4 +35,14 @@ return {
|
|||
indent = { enable = true },
|
||||
})
|
||||
end,
|
||||
},
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter-context",
|
||||
event = "VeryLazy",
|
||||
config = function()
|
||||
require("treesitter-context").setup({
|
||||
separator = "-",
|
||||
})
|
||||
end,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue