SshLspAdapterDelegate (#17965)

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-09-17 14:13:37 -06:00 committed by GitHub
parent 7814dd0301
commit 8cc6df573c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 268 additions and 148 deletions

View file

@ -107,6 +107,8 @@ impl HeadlessProject {
client.add_model_request_handler(LspStore::handle_create_language_server);
client.add_model_request_handler(LspStore::handle_which_command);
client.add_model_request_handler(LspStore::handle_shell_env);
client.add_model_request_handler(LspStore::handle_try_exec);
client.add_model_request_handler(LspStore::handle_read_text_file);
BufferStore::init(&client);
WorktreeStore::init(&client);

View file

@ -24,7 +24,6 @@ fn main() {
#[cfg(not(windows))]
fn main() {
env::set_var("RUST_BACKTRACE", "1");
env_logger::builder()
.format(|buf, record| {
serde_json::to_writer(&mut *buf, &LogRecord::new(record))?;