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.
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:
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
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',
}
The 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.
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.