Skip to content

How to install nvim-treesitter using :Rocks? #416

Answered by mrcjkb
craigmac asked this question in Q&A
Discussion options

You must be logged in to vote

Hey 👋

nvim-treesitter 0.9.2 is quite outdated and causes problems with the luarocks tree-sitter parsers, which is why we've removed it.

For now, you have two options:

  • Install nvim-treesitter with rocks-git.nvim (not recommended)
  • Install the tree-sitter- parsers you need (either manually or using rocks-treesitter.nvim)
    • For plugins that still depend on nvim-treesitter,
      we provide the nvim-treesitter-legacy-api rock, which is nvim-treesitter but patched not to include queries that could conflict with luarocks parsers.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@craigmac
Comment options

@mrcjkb
Comment options

Answer selected by craigmac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants