Start switching JSON LSP adapter to plugin (take 2)
This commit is contained in:
parent
35b2eff29c
commit
7dd3114a7a
22 changed files with 372 additions and 100 deletions
|
@ -88,8 +88,8 @@ pub trait LspAdapter: 'static + Send + Sync {
|
|||
None
|
||||
}
|
||||
|
||||
fn server_args(&self) -> &[&str] {
|
||||
&[]
|
||||
fn server_args(&self) -> Vec<String> {
|
||||
Vec::new()
|
||||
}
|
||||
|
||||
fn initialization_options(&self) -> Option<Value> {
|
||||
|
@ -366,7 +366,7 @@ impl LanguageRegistry {
|
|||
let server = lsp::LanguageServer::new(
|
||||
server_id,
|
||||
&server_binary_path,
|
||||
server_args,
|
||||
&server_args,
|
||||
&root_path,
|
||||
cx,
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue