summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index c0feb8c..f12c12c 100644
--- a/main.c
+++ b/main.c
@@ -284,7 +284,8 @@ int main(int argc, char **argv) {
// @TODO TEMPORARY
{
LSP lsp={0};
- lsp_create(&lsp, "rust-analyzer");
+ if (!lsp_create(&lsp, "rust-analyzer"))
+ printf("%s\n",lsp.error);
exit(0);
}