Add PureScript LSP/Highlighting support (#6911)

This PR adds basic support for the language using the
`purescript-language-server`.

Release Notes:

- Added support for PureScript.
This commit is contained in:
Iván Molina Rebolledo 2024-01-28 16:44:50 -06:00 committed by GitHub
parent 7767062c09
commit db68fc5130
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 322 additions and 0 deletions

View file

@ -23,6 +23,7 @@ mod language_plugin;
mod lua;
mod nu;
mod php;
mod purescript;
mod python;
mod ruby;
mod rust;
@ -258,6 +259,13 @@ pub fn init(
],
);
language(
"purescript",
tree_sitter_purescript::language(),
vec![Arc::new(purescript::PurescriptLspAdapter::new(
node_runtime.clone(),
))],
);
language("elm", tree_sitter_elm::language(), vec![]);
language("glsl", tree_sitter_glsl::language(), vec![]);
language("nix", tree_sitter_nix::language(), vec![]);