Add scaffolding of php language server

This commit is contained in:
Piotr Osiewicz 2023-07-17 11:34:22 +02:00
parent 608c16342c
commit dc557e1647
5 changed files with 232 additions and 12 deletions

View file

@ -151,16 +151,17 @@ impl LanguageServer {
let stdin = server.stdin.take().unwrap();
let stout = server.stdout.take().unwrap();
let mut server = Self::new_internal(
server_id,
server_id.clone(),
stdin,
stout,
Some(server),
root_path,
code_action_kinds,
cx,
|notification| {
move |notification| {
log::info!(
"unhandled notification {}:\n{}",
"{} unhandled notification {}:\n{}",
server_id,
notification.method,
serde_json::to_string_pretty(
&notification