Start work on ERB language support

This commit is contained in:
Max Brunsfeld 2022-11-03 16:02:29 -07:00
parent 7301ab4f44
commit be6ee3cbff
7 changed files with 50 additions and 10 deletions

View file

@ -117,6 +117,7 @@ pub async fn init(languages: Arc<LanguageRegistry>, _executor: Arc<Background>)
Some(CachedLspAdapter::new(html::HtmlLspAdapter).await),
),
("ruby", tree_sitter_ruby::language(), None),
("erb", tree_sitter_embedded_template::language(), None),
] {
languages.add(language(name, grammar, lsp_adapter));
}