Skip to content

Commit 10f4745

Browse files
committed
make context a dependency of treesitter
1 parent 3a2f5f8 commit 10f4745

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/plugins/treesitter.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ return {
22
{
33
"nvim-treesitter/nvim-treesitter",
44
build = ":TSUpdate",
5+
dependencies = {
6+
"nvim-treesitter/nvim-treesitter-context",
7+
},
58
config = function()
69

710
local config = require("nvim-treesitter.configs")
@@ -42,5 +45,4 @@ return {
4245
end, { silent = true })
4346
end
4447
},
45-
{ "nvim-treesitter/nvim-treesitter-context" },
4648
}

0 commit comments

Comments
 (0)