Skip to content

Latest commit

 

History

History
78 lines (54 loc) · 2.55 KB

README.md

File metadata and controls

78 lines (54 loc) · 2.55 KB

Language Support for Evergreen.lxl

This repository provides plugins for language support in Evergreen.

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)

lpm / ppm

Add this repository to your sources:

lpm repo add https://github.com/Evergreen-lxl/evergreen-languages.git:main
ppm repo add https://github.com/Evergreen-lxl/evergreen-languages.git:main

To install support for languages foo and bar:

lpm install evergreen_foo evergreen_bar
ppm install evergreen_foo evergreen_bar

Miq

Add this repository to your sources in your user module:

config.plugins.miq.repos = {
	'https://github.com/Evergreen-lxl/evergreen-languages.git:main',
}

To install support for languages foo and bar:

config.plugins.miq.plugins = {
	'evergreen_foo',
	'evergreen_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

evergreen-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.