parent
7814dd0301
commit
8cc6df573c
8 changed files with 268 additions and 148 deletions
|
@ -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);
|
||||
|
|
|
@ -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))?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue