Add rudimentary PHP syntax highlighting

This commit is contained in:
Piotr Osiewicz 2023-07-11 12:31:20 +02:00
parent 6739c31594
commit a1fe5abeaf
9 changed files with 197 additions and 1 deletions

View file

@ -137,6 +137,7 @@ pub fn init(languages: Arc<LanguageRegistry>, node_runtime: Arc<NodeRuntime>) {
tree_sitter_yaml::language(),
vec![Arc::new(yaml::YamlLspAdapter::new(node_runtime))],
);
language("php", tree_sitter_php::language(), vec![]);
}
#[cfg(any(test, feature = "test-support"))]