(neovim) introduce treesitter-context

This commit is contained in:
Bartek Stalewski 2025-09-15 10:39:33 +02:00
parent 41114a6bcb
commit 593d890ba4
Signed by: ftpd
SSH key fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo

View file

@ -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,
}
}