diff options
author | Blaž Hrastnik | 2020-10-19 07:09:44 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-12-03 04:04:42 +0000 |
commit | 13cb442850ac3cd4b884a62711f0eb8740270d74 (patch) | |
tree | 6ef79913501005d58572d4c9162bb384c896992b /helix-term/src/main.rs | |
parent | f03830b047f0db9d9bb4576f771b5988329be46f (diff) |
wip: Fetching diagnostics, parsing notifications.
Diffstat (limited to 'helix-term/src/main.rs')
-rw-r--r-- | helix-term/src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
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(()) |