Skip to content

Commit

Permalink
lsp: set yojson strict to false for didChangeTextDocumentParams
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisgio authored and andreypopp committed Aug 26, 2019
1 parent d75bea9 commit f06c45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp/src/lsp/protocol.ml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ end

(* DidChangeTextDocument notification, method="textDocument/didChange" *)
module DidChange = struct
type params = didChangeTextDocumentParams [@@deriving yojson { strict = true }]
type params = didChangeTextDocumentParams [@@deriving yojson { strict = false }]

and didChangeTextDocumentParams = {
textDocument: VersionedTextDocumentIdentifier.t;
Expand Down

0 comments on commit f06c45c

Please sign in to comment.