Skip to content

Commit 208f7ca

Browse files
committed
fix(rockspec): add nvim-treesitter-legacy-api dependency
The original `nvim-treesitter` package has been removed from luarocks a year ago, however there is a `nvim-treesitter-legacy-api` package which exposes the legacy module system API from `nvim-treesitter` that neorg requires in order to work properly, e.g. being able to install the norg parsers and interacting with them.
1 parent 61bdc89 commit 208f7ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/luarocks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ jobs:
2727
plenary.nvim == 0.1.4
2828
nui.nvim == 0.3.0
2929
pathlib.nvim ~> 2.2
30+
nvim-treesitter-legacy-api == 0.9.2

neorg-scm-1.rockspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ end
3636
test_dependencies = {
3737
"nlua",
3838
-- Placed here as we plan on removing nvim-treesitter as a dependency soon, but it's still required for various tests.
39-
"nvim-treesitter == 0.9.2",
39+
"nvim-treesitter-legacy-api == 0.9.2",
4040
}
4141

4242
build = {

0 commit comments

Comments
 (0)