summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-05 12:40:13 -0500
committerpommicket <pommicket@gmail.com>2022-12-05 12:40:13 -0500
commit074df673a792ce92a972095803f18749b8d92ea3 (patch)
tree2ba7feaa377f5aca57b576e91222435a067829cc /main.c
parent4dc976bc793af39ebad715ef669b335657926f65 (diff)
more lsp, start json parser
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.c b/main.c
index dbc49d5..517faaa 100644
--- a/main.c
+++ b/main.c
@@ -101,6 +101,7 @@ bool tag_goto(Ted *ted, char const *tag);
#include "command.c"
#include "config.c"
#include "session.c"
+#include "lsp.c"
#if PROFILE
#define PROFILE_TIME(var) double var = time_get_seconds();
@@ -279,6 +280,13 @@ int main(int argc, char **argv) {
PROFILE_TIME(init_start)
PROFILE_TIME(basic_init_start)
+ // @TODO TEMPORARY
+ {
+ LSP lsp={0};
+ lsp_create(&lsp, "rust-analyzer");
+ exit(0);
+ }
+
#if __unix__
{
struct sigaction act = {0};