summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-06 12:05:32 -0500
committerpommicket <pommicket@gmail.com>2022-12-06 12:05:32 -0500
commitac3a7a0c40864339b4c94ab3f58f8dd5d144ed2e (patch)
tree351ddd93af391171a4052bcdb4a11d2f98ba7488 /main.c
parent05862b802237df8bc61b0b45ef1ba4e70b0773f5 (diff)
more lsp
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);
}