Improve lsp log viewer's behavior in the presence of LSP restarts

Improve settings interface to local LSP
This commit is contained in:
Mikayla 2023-09-24 04:59:55 -07:00
parent 02a85b1252
commit 052cb459a6
No known key found for this signature in database
6 changed files with 71 additions and 15 deletions

View file

@ -79,11 +79,12 @@ pub fn init(
vec![Arc::new(elixir::ElixirLspAdapter)],
),
elixir_next::ElixirNextSetting::On => todo!(),
elixir_next::ElixirNextSetting::Local { path } => language(
elixir_next::ElixirNextSetting::Local { path, arguments } => language(
"elixir",
tree_sitter_elixir::language(),
vec![Arc::new(elixir_next::LocalNextLspAdapter {
path: path.clone(),
arguments: arguments.clone(),
})],
),
}