This repository provides plugins for language support in Treesitter.
Plugins consist of query files from nvim-treesitter,
and a shared library containing the parser and scanner if needed.
Updates from upstream are fetched daily.
Do note that some language plugins may have dependencies on other ones. If not using a package manager, you will have to download the plugins for them as well.
It is recommended to use a package manager if possible – it greatly simplifies dealing with dependencies, and provides automatic updates.
Add this repository to your sources:
pragtical pm repo add https://github.com/pragtical/treesitter-languages.git:masterTo install support for languages foo and bar:
pragtical pm install treesitter_foo treesitter_barThe downloads for supported platforms can be found here:
Unzip the file contents into a folder inside your plugins folder.
For platforms not currently supported, you can download the source packages from here.
Unzip the file contents into a folder inside your plugins folder.
If a makefile is present, run make all to build the shared library.
Otherwise, building is not required.
treesitter-languages is licensed under the MIT license.
nvim-treesitter is licensed under the Apache-2.0 license.
You should receive these two licences, as well as the license of the Tree-sitter grammar for the language when downloading a plugin.