aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-19 07:09:44 +0000
committerBlaž Hrastnik2020-12-03 04:04:42 +0000
commit13cb442850ac3cd4b884a62711f0eb8740270d74 (patch)
tree6ef79913501005d58572d4c9162bb384c896992b /helix-term/src
parentf03830b047f0db9d9bb4576f771b5988329be46f (diff)
wip: Fetching diagnostics, parsing notifications.
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/main.rs6
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(())