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:
parent
7767062c09
commit
db68fc5130
9 changed files with 322 additions and 0 deletions
|
@ -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![]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue