Skip to content

Commit

Permalink
refactor(lsp): use accessors from Eio.Stdenv
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed Aug 27, 2023
1 parent 5edabdd commit df37ef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lsp/LspEio.ml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ end

let init (env : Eio_unix.Stdenv.base) = {
(* [TODO: Reed M, 09/06/2022] I should think about this buffer size... *)
input = Buf_read.of_flow ~max_size:1_000_000 env#stdin;
output = env#stdout
input = Buf_read.of_flow ~max_size:1_000_000 @@ Eio.Stdenv.stdin env;
output = Eio.Stdenv.stdout env
}

let recv io =
Expand Down

0 comments on commit df37ef9

Please sign in to comment.