mirror of https://github.com/lapce/lapce.git
fix: pass lsp plugin args
This commit is contained in:
parent
acd9e5e8a6
commit
05b8f21751
|
@ -3736,7 +3736,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "psp-types"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/lapce/psp-types#0a18e1d285b6e1791e440728c633ef84ed99d1e0"
|
||||
source = "git+https://github.com/lapce/psp-types#e7305b0bda539208dd133732178c3e197f95ca5f"
|
||||
dependencies = [
|
||||
"lsp-types",
|
||||
"serde 1.0.143",
|
||||
|
|
|
@ -155,6 +155,7 @@ fn new(
|
|||
let server = match server_uri.scheme() {
|
||||
"file" => {
|
||||
let path = server_uri.to_file_path().map_err(|_| anyhow!(""))?;
|
||||
#[cfg(unix)]
|
||||
let _ = std::process::Command::new("chmod")
|
||||
.arg("+x")
|
||||
.arg(&path)
|
||||
|
@ -216,7 +217,7 @@ fn new(
|
|||
}
|
||||
core_rpc.log(
|
||||
log::Level::Error,
|
||||
format!("lsp server stderr: {line}"),
|
||||
format!("lsp server stderr: {}", line.trim_end()),
|
||||
);
|
||||
}
|
||||
Err(_) => {
|
||||
|
|
|
@ -789,7 +789,7 @@ pub fn handle_notification(
|
|||
volt_id,
|
||||
pwd,
|
||||
params.server_uri,
|
||||
Vec::new(),
|
||||
params.server_args,
|
||||
params.options,
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue