summaryrefslogtreecommitdiff
path: root/lsp.c
blob: 2c94dfac58f012daf3c57d579c643ffb70fe315e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef struct {
	Process process;
} LSP;

static void send_message(LSP *lsp, const char *content, size_t content_size) {
}

void lsp_create(LSP *lsp, const char *analyzer_command) {
	ProcessSettings settings = {
		.stdin_blocking = true,
		.stdout_blocking = true
	};
	process_run_ex(&lsp->process, analyzer_command, &settings);
}