aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/main.rs11
1 files changed, 8 insertions, 3 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index e14a328f..c35c84d2 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -26,9 +26,14 @@ fn main() -> Result<(), Error> {
std::thread::spawn(move || smol::block_on(EX.run(smol::future::pending::<()>())));
}
- smol::block_on(EX.run(async {
- Application::new(args).unwrap().run().await;
- }));
+ let mut lsp = helix_lsp::Client::start(&EX, "rust-analyzer", &[]);
+
+ smol::block_on(async {
+ let res = lsp.initialize().await;
+ // Application::new(args).unwrap().run().await;
+
+ loop {}
+ });
Ok(())
}