Skip to content

pragtical/treesitter-languages

Repository files navigation

Language Support for Treesitter

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.

Installation

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.

Plugin manager (recommended)

Add this repository to your sources:

pragtical pm repo add https://github.com/pragtical/treesitter-languages.git:master

To install support for languages foo and bar:

pragtical pm install treesitter_foo treesitter_bar

Manual

Prebuilt plugins

The downloads for supported platforms can be found here:

Unzip the file contents into a folder inside your plugins folder.

From source

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.

Licensing

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.

About

Tree-sitter language plugins for pragtical

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors