feat: add treesitter-context

This commit is contained in:
əlemi 2024-12-04 01:20:28 +01:00
parent 8597fd488f
commit b89e94a3ba
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -77,12 +77,23 @@ return {
config = function()
require('nvim-treesitter.configs').setup({
highlight = { enable = true },
indent = { enable = true },
})
vim.opt.foldmethod = "expr"
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
end
},
{
'nvim-treesitter/nvim-treesitter',
config = function ()
require('treesitter-context').setup({
multiwindow = true,
min_window_height = 10,
})
end
},
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",