Recent changes to treesitter have made it so that it cannot automatically install the languages you want. As such I have cobbled together this script to make it work right for me.
16 lines
243 B
Lua
16 lines
243 B
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
lazy = false,
|
|
branch = "main",
|
|
build = ":TSUpdate",
|
|
setup = true,
|
|
},
|
|
{
|
|
"nvim-treesitter/nvim-treesitter-context",
|
|
dependencies = {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
},
|
|
},
|
|
}
|