diff --git a/lib/gen_lsp/communication/stdio.ex b/lib/gen_lsp/communication/stdio.ex index 7626daf..62c1601 100644 --- a/lib/gen_lsp/communication/stdio.ex +++ b/lib/gen_lsp/communication/stdio.ex @@ -74,7 +74,7 @@ defmodule GenLSP.Communication.Stdio do read_header(headers) line -> - [k, v] = String.split(line, ":") + [k, v] = String.split(line, ":", parts: 2) read_header(Map.put(headers, String.trim(k), String.trim(v))) end end