diff options
author | pommicket <pommicket@gmail.com> | 2022-12-05 11:05:47 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-12-05 11:05:47 -0500 |
commit | 4dc976bc793af39ebad715ef669b335657926f65 (patch) | |
tree | da899fcc20114dc9a426463b186b082de882c1a1 /lsp.c | |
parent | 0d39cca457e51bdf7bb7d9942a522e52bbedfa1f (diff) |
start lsp
Diffstat (limited to 'lsp.c')
-rw-r--r-- | lsp.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,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); +} |