config(nvim): re-add treesitter context

main
sudo pacman -Syu 2024-02-02 02:45:25 +07:00
parent 13c2dfb856
commit a2cbd65384
1 changed files with 14 additions and 0 deletions

View File

@ -414,6 +414,20 @@ require("lazy").setup({
end,
},
-- https://github.com/nvim-treesitter/nvim-treesitter-context
{
"nvim-treesitter/nvim-treesitter-context",
dependencies = {
"nvim-treesitter/nvim-treesitter",
},
config = function()
require("treesitter-context").setup({
enable = true,
max_lines = 2,
})
end,
},
-- https://github.com/neovim/nvim-lspconfig
{
"neovim/nvim-lspconfig",