Add scaffolding of php language server
This commit is contained in:
parent
608c16342c
commit
dc557e1647
5 changed files with 232 additions and 12 deletions
|
@ -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(
|
||||
¬ification
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue