From 13cb442850ac3cd4b884a62711f0eb8740270d74 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Mon, 19 Oct 2020 16:09:44 +0900 Subject: wip: Fetching diagnostics, parsing notifications. --- helix-term/src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'helix-term/src/main.rs') diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs index c35c84d2..07f1ffff 100644 --- a/helix-term/src/main.rs +++ b/helix-term/src/main.rs @@ -30,9 +30,11 @@ fn main() -> Result<(), Error> { smol::block_on(async { let res = lsp.initialize().await; - // Application::new(args).unwrap().run().await; - + let state = helix_core::State::load("test.rs".into(), &[]).unwrap(); + let res = lsp.text_document_did_open(&state).await; loop {} + + // Application::new(args).unwrap().run().await; }); Ok(()) -- cgit v1.2.3-70-g09d2